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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-19 08:36:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-19 08:36:07 +0300
commit3633a79789d7b47fece7924dc6fe99432fa5cac2 (patch)
treeeb52bf20417bac8fb09c113d5c2c16c664c1f476 /release/scripts/startup/bl_ui/space_image.py
parent5b0f0421ef1d841d7389b504057dbf76998007c7 (diff)
Cleanup: correct misleading classmethod arg
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 81c411a06cb..dd6dd823a64 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -963,7 +963,7 @@ class IMAGE_PT_paint_color(Panel, ImagePaintPanel):
bl_label = "Color Picker"
@classmethod
- def poll(self, context):
+ def poll(cls, context):
settings = context.tool_settings.image_paint
brush = settings.brush
capabilities = brush.image_paint_capabilities
@@ -987,7 +987,7 @@ class IMAGE_PT_paint_swatches(Panel, ImagePaintPanel):
bl_options = {'DEFAULT_CLOSED'}
@classmethod
- def poll(self, context):
+ def poll(cls, context):
settings = context.tool_settings.image_paint
brush = settings.brush
capabilities = brush.image_paint_capabilities
@@ -1010,7 +1010,7 @@ class IMAGE_PT_paint_gradient(Panel, ImagePaintPanel):
bl_options = {'DEFAULT_CLOSED'}
@classmethod
- def poll(self, context):
+ def poll(cls, context):
settings = context.tool_settings.image_paint
brush = settings.brush
capabilities = brush.image_paint_capabilities
@@ -1041,7 +1041,7 @@ class IMAGE_PT_paint_clone(Panel, ImagePaintPanel):
bl_options = {'DEFAULT_CLOSED'}
@classmethod
- def poll(self, context):
+ def poll(cls, context):
settings = context.tool_settings.image_paint
brush = settings.brush
@@ -1068,7 +1068,7 @@ class IMAGE_PT_paint_options(Panel, ImagePaintPanel):
bl_options = {'DEFAULT_CLOSED'}
@classmethod
- def poll(self, context):
+ def poll(cls, context):
settings = context.tool_settings.image_paint
brush = settings.brush
capabilities = brush.image_paint_capabilities