Editor: Improve capsule gizmos
This commit is contained in:
@ -222,7 +222,7 @@ Variant CSGShape3DGizmoPlugin::get_handle_value(const EditorNode3DGizmo *p_gizmo
|
||||
|
||||
if (Object::cast_to<CSGCylinder3D>(cs)) {
|
||||
CSGCylinder3D *s = Object::cast_to<CSGCylinder3D>(cs);
|
||||
return p_id == 0 ? s->get_radius() : s->get_height();
|
||||
return Vector2(s->get_radius(), s->get_height());
|
||||
}
|
||||
|
||||
if (Object::cast_to<CSGTorus3D>(cs)) {
|
||||
|
||||
Reference in New Issue
Block a user