Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py28
1 files changed, 28 insertions, 0 deletions
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 72d8a53dd69..a2ccfb4f1b8 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -97,6 +97,11 @@ class GreasePencilDrawingToolsPanel:
bl_category = "Grease Pencil"
bl_region_type = 'TOOLS'
+ @classmethod
+ def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
@staticmethod
def draw(self, context):
layout = self.layout
@@ -171,6 +176,9 @@ class GreasePencilStrokeEditPanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
if context.gpencil_data is None:
return False
@@ -259,6 +267,9 @@ class GreasePencilInterpolatePanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
if context.gpencil_data is None:
return False
elif context.space_data.type != 'VIEW_3D':
@@ -307,6 +318,11 @@ class GreasePencilBrushPanel:
bl_category = "Grease Pencil"
bl_region_type = 'TOOLS'
+ @classmethod
+ def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
@staticmethod
def draw(self, context):
layout = self.layout
@@ -376,6 +392,9 @@ class GreasePencilStrokeSculptPanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
if context.gpencil_data is None:
return False
@@ -436,6 +455,9 @@ class GreasePencilBrushCurvesPanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
if context.active_gpencil_brush is None:
return False
@@ -1026,6 +1048,9 @@ class GreasePencilPaletteColorPanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
if context.gpencil_data is None:
return False
@@ -1128,6 +1153,9 @@ class GreasePencilToolsPanel:
@classmethod
def poll(cls, context):
+ # XXX - disabled in 2.8 branch.
+ return False
+
return (context.gpencil_data is not None)
@staticmethod