diff options
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_output.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 10 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 14 |
3 files changed, 13 insertions, 13 deletions
diff --git a/release/scripts/startup/bl_ui/properties_output.py b/release/scripts/startup/bl_ui/properties_output.py index f24adbbcf91..00be0f1a792 100644 --- a/release/scripts/startup/bl_ui/properties_output.py +++ b/release/scripts/startup/bl_ui/properties_output.py @@ -313,7 +313,7 @@ class RENDER_PT_output_views(RenderOutputButtonsPanel, Panel): COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'} @classmethod - def poll(self, context): + def poll(cls, context): rd = context.scene.render return rd.use_multiview 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 diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 35576063b25..a87038a524d 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -389,8 +389,8 @@ class VIEW3D_PT_tools_brush_color(Panel, View3DPaintPanel): bl_label = "Color Picker" @classmethod - def poll(self, context): - settings = self.paint_settings(context) + def poll(cls, context): + settings = cls.paint_settings(context) brush = settings.brush if context.image_paint_object: capabilities = brush.image_paint_capabilities @@ -417,8 +417,8 @@ class VIEW3D_PT_tools_brush_swatches(Panel, View3DPaintPanel): bl_options = {'DEFAULT_CLOSED'} @classmethod - def poll(self, context): - settings = self.paint_settings(context) + def poll(cls, context): + settings = cls.paint_settings(context) brush = settings.brush if context.image_paint_object: capabilities = brush.image_paint_capabilities @@ -444,8 +444,8 @@ class VIEW3D_PT_tools_brush_gradient(Panel, View3DPaintPanel): bl_options = {'DEFAULT_CLOSED'} @classmethod - def poll(self, context): - settings = self.paint_settings(context) + def poll(cls, context): + settings = cls.paint_settings(context) brush = settings.brush capabilities = brush.image_paint_capabilities @@ -475,7 +475,7 @@ class VIEW3D_PT_tools_brush_clone(Panel, View3DPaintPanel): bl_options = {'DEFAULT_CLOSED'} @classmethod - def poll(self, context): + def poll(cls, context): settings = self.paint_settings(context) brush = settings.brush |