summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-09-28 09:32:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-09-28 09:32:42 -0300
commit8154dff3d00634d2dd5f0baced2e8ce3dedc4fef (patch)
tree82ea7995fabae7b7b6e8ed6452149ed7099cd4a7 /scene/2d
parentf141df95a65b00bc4485518748c84303012a701f (diff)
parent3e6aaec19342367304d4ded3bcfb0cc91a8124c4 (diff)
Merge pull request #2528 from MarianoGnu/sprite-edit
SpriteRegionEditor
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/sprite.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/sprite.cpp b/scene/2d/sprite.cpp
index 6705cebf37..87697fc073 100644
--- a/scene/2d/sprite.cpp
+++ b/scene/2d/sprite.cpp
@@ -189,6 +189,7 @@ void Sprite::set_region_rect(const Rect2& p_region_rect) {
if (region && changed) {
update();
item_rect_changed();
+ _change_notify("region_rect");
}
}