Show Curve3D point tilt in degrees in inspector

This commit is contained in:
kleonc
2025-05-19 20:42:07 +02:00
parent a2aefab4c7
commit a87be2c74d

View File

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