Tested versions
- Reproductible in 4.5.1.stable
System information
Godot v4.5.1.stable - Windows 11 (build 26200) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.8157) - 12th Gen Intel(R) Core(TM) i9-12900K (24 threads) - 63.78 GiB memory
Issue description
Hello,
First this may be related to #105875 and if so will be fixed by #105878 when merged.
The slider generated by the inspector allow values lesser and greater but I did not add thoses options to the hint_string
Steps to reproduce
I am using an exported Vector3i variable with a custom _validate_property method;
@tool
class_name GenerationSettings
@export var world_size: Vector3i
func _validate_property(property: Dictionary) -> void:
if property.name == &"world_size":
property.type = TYPE_VECTOR3
property.hint = property.hint | PROPERTY_HINT_RANGE
property.hint_string = "0,128,1"
I need to set the type to a Vector3 to get the slider because a Vector3i don't show the slider.
When opening the EditorSpinSlider node in the inspector I can see that both options allow_greater and allow_lesser are enabled ;
Minimal reproduction project (MRP)
issue_hint_range.zip
Tested versions
System information
Godot v4.5.1.stable - Windows 11 (build 26200) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.8157) - 12th Gen Intel(R) Core(TM) i9-12900K (24 threads) - 63.78 GiB memory
Issue description
Hello,
First this may be related to #105875 and if so will be fixed by #105878 when merged.
The slider generated by the inspector allow values lesser and greater but I did not add thoses options to the hint_string
Steps to reproduce
I am using an exported Vector3i variable with a custom
_validate_propertymethod;I need to set the type to a Vector3 to get the slider because a Vector3i don't show the slider.
When opening the EditorSpinSlider node in the inspector I can see that both options allow_greater and allow_lesser are enabled ;
Minimal reproduction project (MRP)
issue_hint_range.zip