summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorJonathan Vice <jajvice@gmail.com>2020-08-22 01:56:14 +0200
committerJonathan Vice <jajvice@gmail.com>2020-08-31 14:55:49 +0200
commit28326aec60f7f53f822a386c845507dbdc55e9e1 (patch)
tree8ee5147ae43d4d1a68f0288f81bf0307d3a02823 /scene/2d
parentbb724ffd0276544f5eef0441bf3f9a8e771784c4 (diff)
Reorder sprite h_frames & v_frames
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/sprite_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/sprite_2d.cpp b/scene/2d/sprite_2d.cpp
index 7e07019578..d1be93e55d 100644
--- a/scene/2d/sprite_2d.cpp
+++ b/scene/2d/sprite_2d.cpp
@@ -498,8 +498,8 @@ void Sprite2D::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "flip_h"), "set_flip_h", "is_flipped_h");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "flip_v"), "set_flip_v", "is_flipped_v");
ADD_GROUP("Animation", "");
- ADD_PROPERTY(PropertyInfo(Variant::INT, "vframes", PROPERTY_HINT_RANGE, "1,16384,1"), "set_vframes", "get_vframes");
ADD_PROPERTY(PropertyInfo(Variant::INT, "hframes", PROPERTY_HINT_RANGE, "1,16384,1"), "set_hframes", "get_hframes");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "vframes", PROPERTY_HINT_RANGE, "1,16384,1"), "set_vframes", "get_vframes");
ADD_PROPERTY(PropertyInfo(Variant::INT, "frame"), "set_frame", "get_frame");
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "frame_coords", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_EDITOR), "set_frame_coords", "get_frame_coords");