Missing from last commit
authorCampbell Barton <ideasman42@gmail.com>
Fri, 19 Apr 2019 05:49:49 +0000 (07:49 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 19 Apr 2019 05:49:49 +0000 (07:49 +0200)
release/scripts/startup/bl_ui/space_view3d_toolbar.py

index a87038a..dc9c076 100644 (file)
@@ -476,7 +476,7 @@ class VIEW3D_PT_tools_brush_clone(Panel, View3DPaintPanel):
 
     @classmethod
     def poll(cls, context):
-        settings = self.paint_settings(context)
+        settings = cls.paint_settings(context)
         brush = settings.brush
 
         return brush.image_tool == 'CLONE'