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>2021-11-12 16:20:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-12 16:20:07 +0300
commita470e3c9d18a6dbd24fe008d1258995263ac7761 (patch)
tree1ad8d891395491cf2bad69955a4e7083f0e6c3bc /source/blender/editors
parent3fe735d371f4acd64a1be0e83ebb1b517e8b681a (diff)
parent0ea60cf6b813f8b792a253e10a6c2edaf7fb689f (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_gizmo_3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c
index c96852cd094..d3aaae7253e 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -1064,7 +1064,7 @@ int ED_transform_calc_gizmo_stats(const bContext *C,
/* Protect-flags apply to world space in object mode, so only let them influence axis
* visibility if we show the global orientation, otherwise it's confusing. */
- if (orient_index == V3D_ORIENT_GLOBAL) {
+ if (ELEM(orient_index, V3D_ORIENT_LOCAL, V3D_ORIENT_GIMBAL)) {
protectflag_to_drawflags(base->object->protectflag, &rv3d->twdrawflag);
}
totsel++;