UI: expose gizmo orientation as a single enum
[blender.git] / source / blender / editors / transform / transform_gizmo_3d.c
index 3680c8c829cf5e0cf869adc19842b1fe5b2f0ae5..b17a345ee097bc769c75315cb0a3726d8a03939e 100644 (file)
@@ -1242,10 +1242,10 @@ static void gizmo_xform_message_subscribe(
        RNA_pointer_create(&scene->id, &RNA_TransformOrientationSlot, orient_slot, &orient_ref_ptr);
        {
                extern PropertyRNA rna_TransformOrientationSlot_type;
-               extern PropertyRNA rna_TransformOrientationSlot_use_global;
+               extern PropertyRNA rna_TransformOrientationSlot_use;
                const PropertyRNA *props[] = {
                        &rna_TransformOrientationSlot_type,
-                       &rna_TransformOrientationSlot_use_global,
+                       &rna_TransformOrientationSlot_use,
                };
                for (int i = 0; i < ARRAY_SIZE(props); i++) {
                        if (props[i]) {