1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix VisualScriptPropertySet value hint

This commit is contained in:
David Cambré
2021-08-29 15:47:51 +02:00
parent 4d08a737fb
commit 2fbea9dee6

View File

@@ -1010,7 +1010,7 @@ PropertyInfo VisualScriptPropertySet::get_input_value_port_info(int p_idx) const
if (index != StringName()) { if (index != StringName()) {
detail_prop_name += "." + String(index); 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); _adjust_input_index(pinfo);
return pinfo; return pinfo;
} }