[Bf-blender-cvs] [a6f9c293701] greasepencil-object: Fix: Re-enable toolshelf panels for GP tools

Joshua Leung noreply at git.blender.org
Tue May 8 12:38:48 CEST 2018


Commit: a6f9c293701002631e63e26e7cf8acebc2de7e57
Author: Joshua Leung
Date:   Tue May 8 11:48:00 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBa6f9c293701002631e63e26e7cf8acebc2de7e57

Fix: Re-enable toolshelf panels for GP tools

We will convert the UI later, so it can stay like this for now.

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

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 411b3885009..b45b4e35b3e 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -152,9 +152,6 @@ class GreasePencilStrokeEditPanel:
 
     @classmethod
     def poll(cls, context):
-        # XXX - disabled in 2.8 branch.
-        return False
-
         if context.gpencil_data is None:
             return False
 
@@ -253,9 +250,6 @@ class GreasePencilStrokeSculptPanel:
 
     @classmethod
     def poll(cls, context):
-        # XXX - disabled in 2.8 branch.
-        return False
-
         if context.gpencil_data is None:
             return False



More information about the Bf-blender-cvs mailing list