[Bf-blender-cvs] [98af402] master: GPencil: Remove toggle option for pop-up specials menu

Antonioya noreply at git.blender.org
Fri Sep 16 11:58:48 CEST 2016


Commit: 98af4023574170f8cc1e3bbbdaa41282ef30446e
Author: Antonioya
Date:   Fri Sep 16 11:57:48 2016 +0200
Branches: master
https://developer.blender.org/rB98af4023574170f8cc1e3bbbdaa41282ef30446e

GPencil: Remove toggle option for pop-up specials menu

According UI rules, no toggle options in pop-ups menus, so remove it.

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 5054125..feff5d4 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -668,10 +668,6 @@ class GPENCIL_MT_gpencil_edit_specials(Menu):
         layout.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY'
         layout.operator("gpencil.stroke_flip", text="Flip Direction")
 
-        gpd = context.gpencil_data
-        if gpd:
-            layout.prop(gpd, "show_stroke_direction", text="Show Directions")
-
         if is_3d_view:
             layout.separator()
             layout.operator("gpencil.reproject")




More information about the Bf-blender-cvs mailing list