Skip to content

Commit 0151764

Browse files
(v2) Scene editor: tile sprite reset to texture size do dirty models.
1 parent 0ffa329 commit 0151764

File tree

1 file changed

+2
-0
lines changed
  • source/v2/phasereditor/phasereditor.scene.ui/src/phasereditor/scene/ui/editor/properties

1 file changed

+2
-0
lines changed

source/v2/phasereditor/phasereditor.scene.ui/src/phasereditor/scene/ui/editor/properties/TileSpriteSection.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ protected void resetSizeToTexture(boolean width, boolean height) {
240240
if (height) {
241241
TileSpriteComponent.set_height(model, size.y);
242242
}
243+
244+
model.setDirty(true);
243245
}
244246
}
245247
}

0 commit comments

Comments
 (0)