Gizmo: move transform to a persistent option
[blender.git] / source / blender / editors / mesh / editmesh_extrude_spin_gizmo.c
index 9884ded4f0a3918ffc5882660fa5a1d381b05e89..1ff7d835aada7c7ae11386d4319851e58a469edb 100644 (file)
@@ -241,7 +241,7 @@ static void gizmo_mesh_spin_init_draw_prepare(
 
        {
                Scene *scene = CTX_data_scene(C);
-               const TransformOrientationSlot *orient_slot = BKE_scene_orientation_slot_get(scene, SCE_GIZMO_SHOW_ROTATE);
+               const TransformOrientationSlot *orient_slot = BKE_scene_orientation_slot_get(scene, SCE_ORIENT_ROTATE);
                switch (orient_slot->type) {
                        case V3D_ORIENT_VIEW:
                        {