summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-10-11 15:58:15 +0200
committerGitHub <noreply@github.com>2016-10-11 15:58:15 +0200
commit13bf9b6973aa7620e90a3d17f728fcf34094ba9e (patch)
tree327ee9db3b3a7ac7ec97f572e765fec3751d894a
parenta317617aaec10956c5cb2ef1b271b9bfe8031cc7 (diff)
parent9d67895c7c3801e830d2c6e8c0fdf66f3ffc0893 (diff)
Merge pull request #6791 from Hinsbart/frame_changed
Sprite: Fix inspector not showing changes on "frame" property.
-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);
}