Skip to content

Commit

Permalink
pack if auto update is on
Browse files Browse the repository at this point in the history
  • Loading branch information
z3y committed Jun 20, 2024
1 parent f6ce2f8 commit b7cf69d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Scripts/Editor/PackOnBeforeRender.cs
Original file line number Diff line number Diff line change
@@ -39,7 +39,10 @@ public static void PackOpenScene(object sender, EventArgs e)

for (int i = 0; i < instances.Count; i++)
{
instances[i].Execute(false, true);
if (instances[i].autoUpdateUVs)
{
instances[i].Execute(false, true);
}
}

}

0 comments on commit b7cf69d

Please sign in to comment.