diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-14 12:49:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 12:49:11 +0200 |
commit | 7774ec1634374a2c6d10eba4d4c885688747deff (patch) | |
tree | d518141c29bcfe029aadc6a2a61337cdacc25b69 /modules/visual_script | |
parent | d039f4af140cedd08da203c33a425d9a75b224d5 (diff) | |
parent | 2fbea9dee68d875eeb5eeb13807d2a87c80c4ce6 (diff) |
Merge pull request #52222 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint
Diffstat (limited to 'modules/visual_script')
-rw-r--r-- | modules/visual_script/visual_script_func_nodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_func_nodes.cpp b/modules/visual_script/visual_script_func_nodes.cpp index 6ba5ad4fd6..205918a5f0 100644 --- a/modules/visual_script/visual_script_func_nodes.cpp +++ b/modules/visual_script/visual_script_func_nodes.cpp @@ -1010,7 +1010,7 @@ PropertyInfo VisualScriptPropertySet::get_input_value_port_info(int p_idx) const if (index != StringName()) { detail_prop_name += "." + String(index); } - PropertyInfo pinfo = PropertyInfo(E.type, detail_prop_name, PROPERTY_HINT_TYPE_STRING, E.hint_string); + PropertyInfo pinfo = PropertyInfo(E.type, detail_prop_name, E.hint, E.hint_string); _adjust_input_index(pinfo); return pinfo; } |