From 5770e08c2acc0469c275be6cd040ebbb651cb1f3 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 15 Nov 2020 16:01:10 +0100 Subject: Remove property groups for Pause Mode and Script Each of those only grouped 1 property, making them useless. This closes https://github.com/godotengine/godot-proposals/issues/1840. --- core/object/object.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'core') diff --git a/core/object/object.cpp b/core/object/object.cpp index c3f49856ca..96a41d6852 100644 --- a/core/object/object.cpp +++ b/core/object/object.cpp @@ -597,9 +597,6 @@ void Object::get_property_list(List *p_list, bool p_reversed) cons _get_property_listv(p_list, p_reversed); if (!is_class("Script")) { // can still be set, but this is for userfriendlyness -#ifdef TOOLS_ENABLED - p_list->push_back(PropertyInfo(Variant::NIL, "Script", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_GROUP)); -#endif p_list->push_back(PropertyInfo(Variant::OBJECT, "script", PROPERTY_HINT_RESOURCE_TYPE, "Script", PROPERTY_USAGE_DEFAULT)); } if (!metadata.empty()) { -- cgit v1.2.3