aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas2016-10-11 15:14:05 +0200
committerRémi Verschelde2016-10-17 20:47:27 +0200
commit5f540a17cc08c6696f090ac0a551bd1cf45f8d1f (patch)
tree2137b2ad383254e2b0fb11b629d14672375d7c4b
parent4b6809a2b3c66d7b8f5335210ce2ece80c6f2926 (diff)
downloadgodot-5f540a17cc08c6696f090ac0a551bd1cf45f8d1f.tar.gz
godot-5f540a17cc08c6696f090ac0a551bd1cf45f8d1f.tar.zst
godot-5f540a17cc08c6696f090ac0a551bd1cf45f8d1f.zip
Sprite: Fix inspector not showing changes on "frame" property.
Fixes #6562 (cherry picked from commit 9d67895c7c3801e830d2c6e8c0fdf66f3ffc0893)
-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 c5b338bf5..8723db95d 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);
}