[Bf-blender-cvs] [1e0ecd6d6f7] greasepencil-object: UI: Remove Lock and Delete frame

Antonio Vazquez noreply at git.blender.org
Wed Jun 6 17:27:08 CEST 2018


Commit: 1e0ecd6d6f749cf1ed103f838ce9a33ad04f998a
Author: Antonio Vazquez
Date:   Wed Jun 6 17:27:01 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB1e0ecd6d6f749cf1ed103f838ce9a33ad04f998a

UI: Remove Lock and Delete frame

This is available in Dopesheet and Timeline

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

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 4aa59778491..f86e9f5811b 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -933,21 +933,6 @@ class GreasePencilDataPanel:
         if gpl:
             row.prop(gpl, "opacity", text="Opacity", slider=True)
 
-        layout.separator()
-
-        # Full-Row - Frame Locking (and Delete Frame)
-        row = layout.row(align=True)
-        if gpl:
-            row.active = not gpl.lock
-
-            if gpl.active_frame:
-                lock_status = iface_("Locked") if gpl.lock_frame else iface_("Unlocked")
-                lock_label = iface_("Frame: %d (%s)") % (gpl.active_frame.frame_number, lock_status)
-            else:
-                lock_label = iface_("Lock Frame")
-            row.prop(gpl, "lock_frame", text=lock_label, icon='UNLOCKED')
-            row.operator("gpencil.active_frame_delete", text="", icon='X')
-
 
 class GreasePencilOnionPanel:
     @staticmethod



More information about the Bf-blender-cvs mailing list