Switch plugins to use new tool api

This commit is contained in:
blink1073
2014-09-01 09:59:03 -05:00
committed by Steven Silvester
parent 2d9d8bb94c
commit 1775e959d6
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class LabelPainter(Plugin):
super(LabelPainter, self).attach(image_viewer)
image = image_viewer.original_image
self.paint_tool = PaintTool(self.image_viewer.ax, image.shape,
self.paint_tool = PaintTool(image_viewer, image.shape,
on_enter=self.on_enter)
self.paint_tool.radius = self.radius
self.paint_tool.label = self._label_widget.index = 1