diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 15:50:08 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 15:50:59 -0300 |
commit | e9bb65db815b593037a573c1c7a78e95b7550cb0 (patch) | |
tree | 3ccb0b04272cf36701028a1f662c39cc1bd9bdc1 /core/object.cpp | |
parent | 0e635b683b84417b0970218ce720bbc553205ca6 (diff) | |
download | redot-engine-e9bb65db815b593037a573c1c7a78e95b7550cb0.tar.gz |
-All types have editable script now in properties
-Changed clip to a property in Control which can be set by the user
Diffstat (limited to 'core/object.cpp')
-rw-r--r-- | core/object.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/object.cpp b/core/object.cpp index 0f9b112ad2..3bb917bd38 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -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)); |