Fix VisualScriptPropertySet value hint

This commit is contained in:
David Cambré 2021-08-29 15:42:04 +02:00
parent 17e61fa0af
commit 0c9947cb2f

View file

@ -1005,7 +1005,7 @@ PropertyInfo VisualScriptPropertySet::get_input_value_port_info(int p_idx) const
if (index != StringName()) {
detail_prop_name += "." + String(index);
}
PropertyInfo pinfo = PropertyInfo(E->get().type, detail_prop_name, PROPERTY_HINT_TYPE_STRING, E->get().hint_string);
PropertyInfo pinfo = PropertyInfo(E->get().type, detail_prop_name, E->get().hint, E->get().hint_string);
_adjust_input_index(pinfo);
return pinfo;
}