Merge pull request #52222 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint

This commit is contained in:
Rémi Verschelde 2021-09-14 12:49:11 +02:00 committed by GitHub
commit 7774ec1634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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