[Bf-blender-cvs] [0688f32812d] greasepencil-object: GPencil: Remove Snap menu in Vertex Paint mode
Antonio Vazquez
noreply at git.blender.org
Thu Nov 7 19:58:46 CET 2019
Commit: 0688f32812d71852635e3fa1ec931e6962629d4e
Author: Antonio Vazquez
Date: Thu Nov 7 19:58:32 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB0688f32812d71852635e3fa1ec931e6962629d4e
GPencil: Remove Snap menu in Vertex Paint mode
===================================================================
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 e3a10b6c82e..4e78eb2dd2a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -521,7 +521,7 @@ class VIEW3D_HT_header(Header):
else:
if (object_mode not in {
'SCULPT', 'VERTEX_PAINT', 'WEIGHT_PAINT', 'TEXTURE_PAINT',
- 'PAINT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL'
+ 'PAINT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL', 'VERTEX_GPENCIL'
}) or has_pose_mode:
show_snap = True
else:
More information about the Bf-blender-cvs
mailing list