1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

-All types have editable script now in properties

-Changed clip to a property in Control which can be set by the user
This commit is contained in:
Juan Linietsky
2017-01-09 15:50:08 -03:00
parent 0e635b683b
commit e9bb65db81
20 changed files with 64 additions and 27 deletions

View File

@@ -532,8 +532,6 @@ void Object::get_property_list(List<PropertyInfo> *p_list,bool p_reversed) const
_get_property_listv(p_list,p_reversed);
if (!_use_builtin_script())
return;
if (!is_class("Script")) // can still be set, but this is for userfriendlyness
p_list->push_back( PropertyInfo( Variant::OBJECT, "script/script", PROPERTY_HINT_RESOURCE_TYPE, "Script",PROPERTY_USAGE_DEFAULT|PROPERTY_USAGE_STORE_IF_NONZERO));