diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-22 16:54:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 16:54:47 +0200 |
commit | fdc36ad08290a8453d26fce3d8b7b13bd8cd5a1a (patch) | |
tree | 47e6499e7f52dd6b50a99c8382b1c21ae4e7a6cc /modules/visual_script | |
parent | ff7c10f709448755d8f1e1d2a98db2d2c1858d4c (diff) | |
parent | c25b8f287653b4f7fc47d58488c35c3d26e30dea (diff) |
Merge pull request #64553 from RedMser/fix-property-validation-refactor
Diffstat (limited to 'modules/visual_script')
-rw-r--r-- | modules/visual_script/visual_script_func_nodes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/visual_script/visual_script_func_nodes.cpp b/modules/visual_script/visual_script_func_nodes.cpp index b16358ae38..0750713fe3 100644 --- a/modules/visual_script/visual_script_func_nodes.cpp +++ b/modules/visual_script/visual_script_func_nodes.cpp @@ -515,7 +515,7 @@ Dictionary VisualScriptFunctionCall::_get_argument_cache() const { void VisualScriptFunctionCall::_validate_property(PropertyInfo &property) const { if (property.name == "base_type") { if (call_mode != CALL_MODE_INSTANCE) { - property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL; + property.usage = PROPERTY_USAGE_NO_EDITOR; } } @@ -1293,7 +1293,7 @@ VisualScriptPropertySet::AssignOp VisualScriptPropertySet::get_assign_op() const void VisualScriptPropertySet::_validate_property(PropertyInfo &property) const { if (property.name == "base_type") { if (call_mode != CALL_MODE_INSTANCE) { - property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL; + property.usage = PROPERTY_USAGE_NO_EDITOR; } } @@ -1999,7 +1999,7 @@ StringName VisualScriptPropertyGet::get_index() const { void VisualScriptPropertyGet::_validate_property(PropertyInfo &property) const { if (property.name == "base_type") { if (call_mode != CALL_MODE_INSTANCE) { - property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL; + property.usage = PROPERTY_USAGE_NO_EDITOR; } } |