Can now switch between paint brush modes

This commit is contained in:
Skyler Lehmkuhl
2012-01-11 15:47:29 -05:00
parent d2f01601ce
commit b2d86b8181
4 changed files with 76 additions and 7 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def onMouseUpGroup(self, x, y):
self.cshape = None
elif svlgui.MODE=="p":
print len(self.cshape.shapedata)
self.cshape.shapedata = misc_funcs.simplify_shape(self.cshape.shapedata, "curve",1)
self.cshape.shapedata = misc_funcs.simplify_shape(self.cshape.shapedata, svlgui.PMODE.split()[-1],1)
print len(self.cshape.shapedata)
self.cshape = None
MainWindow.stage.draw()