[Bf-blender-cvs] [03838548701] greasepencil-object: UI: Remove transform orientation options in Sculpt mode
Antonio Vazquez
noreply at git.blender.org
Wed Jul 25 16:01:26 CEST 2018
Commit: 03838548701af0efb4b86350cbc0fc932a9eea9a
Author: Antonio Vazquez
Date: Wed Jul 25 16:01:18 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB03838548701af0efb4b86350cbc0fc932a9eea9a
UI: Remove transform orientation options in Sculpt 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 5f16da60fa6..355d07cabb7 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -120,7 +120,7 @@ class VIEW3D_HT_header(Header):
scene = context.scene
# Orientation
- if object_mode in {'OBJECT', 'EDIT', 'POSE', 'GPENCIL_EDIT', 'GPENCIL_SCULPT'}:
+ if object_mode in {'OBJECT', 'EDIT', 'POSE', 'GPENCIL_EDIT'}:
orientation = scene.transform_orientation
current_orientation = scene.current_orientation
More information about the Bf-blender-cvs
mailing list