You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.5152) - 11th Gen Intel(R) Core(TM) i7-11700KF @ 3.60GHz (16 Threads)
Issue description
When trying to do a custom inspector for a "in-game" tool, I have problems with PROPERTY_HINT_TYPE_STRING wrong documentation, or bug that the last type (for the element) is its name as string instead of a type value (Variant).
Make the parsing for nested type incoherent.
There is also some incoherency between arrays and non arrays about PropertyHint and get_property_list().
Like why using hint_string instead of class_name for built_in types ?
Why mixing type names and type values in hint_string ? Ok for for using "/" for property_hint separation, if checking for nested type only would check the first part, but would expect first part with type values only. I think there is something to do to allow like type stacking.
Tested versions
Godot v4.2.stable (46dc277)
System information
Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.5152) - 11th Gen Intel(R) Core(TM) i7-11700KF @ 3.60GHz (16 Threads)
Issue description
When trying to do a custom inspector for a "in-game" tool, I have problems with PROPERTY_HINT_TYPE_STRING wrong documentation, or bug that the last type (for the element) is its name as string instead of a type value (Variant).
Make the parsing for nested type incoherent.
In the documentation for 2D Array:
1D Array
2D Array
https://docs.godotengine.org/en/4.2/classes/class_@globalscope.html#enum-globalscope-propertyhint
But what I get for 1D Array:
And for 2D Array:
There is also some incoherency between arrays and non arrays about PropertyHint and get_property_list().
Like why using hint_string instead of class_name for built_in types ?
Why mixing type names and type values in hint_string ? Ok for for using "/" for property_hint separation, if checking for nested type only would check the first part, but would expect first part with type values only. I think there is something to do to allow like type stacking.
Steps to reproduce
Get result :
What would be expected (with some sugestions about class_name):
Note that due to limitation with nested types, test_arayaraaystring and test_arayaraaybool are the same.
Minimal reproduction project (MRP)
IncoherentProperty.zip
The text was updated successfully, but these errors were encountered: