summaryrefslogtreecommitdiffstats
path: root/scene/2d/y_sort.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-04 01:16:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-04 01:16:14 -0300
commitb085c40edfac45ec1c8b866c789f6e9bab7e5e08 (patch)
treefb53cad5fcb37fcad404805fe7330d36fcd4e905 /scene/2d/y_sort.cpp
parent3fae505128d5bfdeec42244820d0b85d0408f2b7 (diff)
downloadredot-engine-b085c40edfac45ec1c8b866c789f6e9bab7e5e08.tar.gz
-Conversion of most properties to a simpler syntax, easier to use by script
-Modified help to display properties GDScript can still not make use of them, though.
Diffstat (limited to 'scene/2d/y_sort.cpp')
-rw-r--r--scene/2d/y_sort.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/2d/y_sort.cpp b/scene/2d/y_sort.cpp
index a02c451f5b..588f343048 100644
--- a/scene/2d/y_sort.cpp
+++ b/scene/2d/y_sort.cpp
@@ -46,7 +46,8 @@ void YSort::_bind_methods() {
ClassDB::bind_method(_MD("set_sort_enabled","enabled"),&YSort::set_sort_enabled);
ClassDB::bind_method(_MD("is_sort_enabled"),&YSort::is_sort_enabled);
- ADD_PROPERTY(PropertyInfo(Variant::BOOL,"sort/enabled"),_SCS("set_sort_enabled"),_SCS("is_sort_enabled"));
+ ADD_GROUP("Sort","sort_");
+ ADD_PROPERTY(PropertyInfo(Variant::BOOL,"sort_enabled"),_SCS("set_sort_enabled"),_SCS("is_sort_enabled"));
}