|
@@ -3830,7 +3830,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
|
|
|
EditorPropertyVector2 *editor = memnew(EditorPropertyVector2(p_wide));
|
|
|
|
|
|
EditorPropertyRangeHint hint = _parse_range_hint(p_hint, p_hint_text, default_float_step);
|
|
|
- editor->setup(hint.min, hint.max, hint.step, hint.hide_slider, p_hint == PROPERTY_HINT_LINK, hint.suffix);
|
|
|
+ editor->setup(hint.min, hint.max, hint.step, hint.hide_slider, p_hint == PROPERTY_HINT_LINK, hint.suffix, hint.radians_as_degrees);
|
|
|
return editor;
|
|
|
|
|
|
} break;
|
|
@@ -3871,7 +3871,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
|
|
|
case Variant::VECTOR4: {
|
|
|
EditorPropertyVector4 *editor = memnew(EditorPropertyVector4);
|
|
|
EditorPropertyRangeHint hint = _parse_range_hint(p_hint, p_hint_text, default_float_step);
|
|
|
- editor->setup(hint.min, hint.max, hint.step, hint.hide_slider, p_hint == PROPERTY_HINT_LINK, hint.suffix);
|
|
|
+ editor->setup(hint.min, hint.max, hint.step, hint.hide_slider, p_hint == PROPERTY_HINT_LINK, hint.suffix, hint.radians_as_degrees);
|
|
|
return editor;
|
|
|
|
|
|
} break;
|