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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-20 00:13:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-20 00:14:48 +0300
commitc0e6cbadfcb003d8ba2d024eb95e6471f19f1d79 (patch)
treeaffd911191b420a63fa18a64f07f1dea4a09b326 /source
parent65bc9313067426b12580ce53aa6d77d42c7d200f (diff)
Fix crash clicking on trackball widget
Missing check in newly added gizmo orientations.
Diffstat (limited to 'source')
-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 b17a345ee09..4d76ec4a2e2 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -1804,7 +1804,7 @@ static void WIDGETGROUP_gizmo_invoke_prepare(
GizmoGroup *ggd = gzgroup->customdata;
/* Support gizmo spesific orientation. */
- {
+ if (gz != ggd->gizmos[MAN_AXIS_ROT_T]) {
Scene *scene = CTX_data_scene(C);
wmGizmoOpElem *gzop = WM_gizmo_operator_get(gz, 0);
PointerRNA *ptr = &gzop->ptr;