Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-19 14:36:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-19 14:45:36 +0300
commit2af0ec9457b2997e1e903f284dd48bae6534682b (patch)
tree863b1befb6caecc590187ed8ed855e895ae819a4 /source/blender/editors/transform
parent25fcb44d2db2837b611aefb43207fc011b68a34a (diff)
UI: move gizmo orientation settings into popover
Instead of link toggle with enum, use a single popover that contains both settings. The code for this isn't nice - needing 3x panels for now. See D4075
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_gizmo_3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c
index b17a345ee09..3680c8c829c 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -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;
+ extern PropertyRNA rna_TransformOrientationSlot_use_global;
const PropertyRNA *props[] = {
&rna_TransformOrientationSlot_type,
- &rna_TransformOrientationSlot_use,
+ &rna_TransformOrientationSlot_use_global,
};
for (int i = 0; i < ARRAY_SIZE(props); i++) {
if (props[i]) {