diff options
author | Antonioya <blendergit@gmail.com> | 2018-07-31 23:27:13 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-07-31 23:27:24 +0300 |
commit | 7b72be0134887622518f1fb6d6009fa67bf41593 (patch) | |
tree | 5ad92dc689cea6124313c58f6e328b5a66bbc528 | |
parent | 3667a5402e3d548073b4a9c031868dd0e55ed72f (diff) |
Fix T56181: Annotations hide proportionnal editing UI buttons
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |