[Bf-blender-cvs] [7b72be01348] blender2.8: Fix T56181: Annotations hide proportionnal editing UI buttons

Antonioya noreply at git.blender.org
Tue Jul 31 22:27:29 CEST 2018


Commit: 7b72be0134887622518f1fb6d6009fa67bf41593
Author: Antonioya
Date:   Tue Jul 31 22:27:13 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7b72be0134887622518f1fb6d6009fa67bf41593

Fix T56181: Annotations hide proportionnal editing UI buttons

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index fca37499da0..83bc10a78d9 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -181,7 +181,7 @@ class VIEW3D_HT_header(Header):
         # Proportional editing
         if obj:
             gpd = context.gpencil_data
-            if gpd is not None:
+            if gpd is not None and obj.type == 'GPENCIL':
                 if gpd.use_stroke_edit_mode or gpd.is_stroke_sculpt_mode:
                     row = layout.row(align=True)
                     row.prop(tool_settings, "proportional_edit", icon_only=True)



More information about the Bf-blender-cvs mailing list