diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-04 00:18:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 00:18:44 +0100 |
commit | 78931aa040bb0d0586345f95cc982605c0720ba1 (patch) | |
tree | fd79549cd57fd58007c0f6a2e0a3d589e7a7f9d8 /scene/resources/sprite_frames.cpp | |
parent | 536757b80b092a0cc3b2819d502e0129196d6a19 (diff) | |
parent | c012fbc8b235b86ed70c501834825d91292f8811 (diff) |
Merge pull request #54571 from Calinou/rename-noeditor-property-hint
Diffstat (limited to 'scene/resources/sprite_frames.cpp')
-rw-r--r-- | scene/resources/sprite_frames.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/sprite_frames.cpp b/scene/resources/sprite_frames.cpp index 01afb00283..5524d59dc7 100644 --- a/scene/resources/sprite_frames.cpp +++ b/scene/resources/sprite_frames.cpp @@ -233,7 +233,7 @@ void SpriteFrames::_bind_methods() { ClassDB::bind_method(D_METHOD("_set_animations"), &SpriteFrames::_set_animations); ClassDB::bind_method(D_METHOD("_get_animations"), &SpriteFrames::_get_animations); - ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "animations", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR | PROPERTY_USAGE_INTERNAL), "_set_animations", "_get_animations"); //compatibility + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "animations", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_animations", "_get_animations"); //compatibility } SpriteFrames::SpriteFrames() { |