summaryrefslogtreecommitdiff
path: root/scene/2d/sprite.cpp
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2016-10-11 15:14:05 +0200
committerAndreas Haas <liu.gam3@gmail.com>2016-10-11 15:14:05 +0200
commit9d67895c7c3801e830d2c6e8c0fdf66f3ffc0893 (patch)
tree327ee9db3b3a7ac7ec97f572e765fec3751d894a /scene/2d/sprite.cpp
parenta317617aaec10956c5cb2ef1b271b9bfe8031cc7 (diff)
Sprite: Fix inspector not showing changes on "frame" property.
Fixes #6562
Diffstat (limited to 'scene/2d/sprite.cpp')
-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 c5b338bf59..8723db95d6 100644
--- a/scene/2d/sprite.cpp
+++ b/scene/2d/sprite.cpp
@@ -214,6 +214,7 @@ void Sprite::set_frame(int p_frame) {
frame=p_frame;
+ _change_notify("frame");
emit_signal(SceneStringNames::get_singleton()->frame_changed);
}