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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-03 14:39:16 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-03 14:39:16 +0300
commita2d24345bfead8e4279a818a67d73d42d2565b96 (patch)
tree99ec554f9e039f1c53d53709a0ed578bb7b3bf2b /source/blender/editors/space_view3d/view3d_gizmo_forcefield.c
parent853a03c555512db232636372dfbcdf3ec931bb48 (diff)
Fix T60107: gizmos should not show for unselectable objects.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_forcefield.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_gizmo_forcefield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c b/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c
index 0e3d214ae3c..656836488ba 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c
@@ -64,7 +64,7 @@ static bool WIDGETGROUP_forcefield_poll(const bContext *C, wmGizmoGroupType *UNU
ViewLayer *view_layer = CTX_data_view_layer(C);
Base *base = BASACT(view_layer);
- if (base && BASE_VISIBLE(v3d, base)) {
+ if (base && BASE_VISIBLE(v3d, base) && BASE_SELECTABLE(v3d, base)) {
Object *ob = base->object;
if (ob->pd && ob->pd->forcefield) {
return true;