mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Show Curve3D point tilt in degrees in inspector
This commit is contained in:
parent
a2aefab4c7
commit
a87be2c74d
1 changed files with 1 additions and 1 deletions
|
|
@ -2458,7 +2458,7 @@ void Curve3D::_get_property_list(List<PropertyInfo> *p_list) const {
|
|||
p_list->push_back(pi);
|
||||
}
|
||||
|
||||
pi = PropertyInfo(Variant::FLOAT, vformat("point_%d/tilt", i));
|
||||
pi = PropertyInfo(Variant::FLOAT, vformat("point_%d/tilt", i), PROPERTY_HINT_RANGE, "-360,360,0.1,or_less,or_greater,radians_as_degrees");
|
||||
pi.usage &= ~PROPERTY_USAGE_STORAGE;
|
||||
p_list->push_back(pi);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue