Merge pull request #52219 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint-3x

[3.x] Fix VisualScriptPropertySet value hint
This commit is contained in:
Rémi Verschelde 2021-09-14 12:49:43 +02:00 committed by GitHub
commit bd7394a105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}