aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/animated_sprite.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-07-06 23:46:04 -0300
committerJuan Linietsky2016-07-06 23:46:04 -0300
commit7c1ab42571d5291952e329554643142a30dee1d1 (patch)
treec496f23203877c6cfe99a809e97da74505fad7fa /scene/2d/animated_sprite.cpp
parent17e4ead62a949e2a1568574228a157ea4b403d30 (diff)
downloadgodot-7c1ab42571d5291952e329554643142a30dee1d1.tar.gz
godot-7c1ab42571d5291952e329554643142a30dee1d1.tar.zst
godot-7c1ab42571d5291952e329554643142a30dee1d1.zip
Diffstat (limited to 'scene/2d/animated_sprite.cpp')
-rw-r--r--scene/2d/animated_sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp
index c062a6d1f..73774e12d 100644
--- a/scene/2d/animated_sprite.cpp
+++ b/scene/2d/animated_sprite.cpp
@@ -318,7 +318,7 @@ void AnimatedSprite::_validate_property(PropertyInfo& property) const {
if (property.name=="frame") {
- property.hint=PROPERTY_HINT_RANGE;
+ property.hint=PROPERTY_HINT_SPRITE_FRAME;
if (frames->has_animation(animation)) {
property.hint_string="0,"+itos(frames->get_frame_count(animation)-1)+",1";