diff options
Diffstat (limited to 'js/tools/PenTool.js')
-rwxr-xr-x | js/tools/PenTool.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index aa14ea75..7f6f190a 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js | |||
@@ -610,12 +610,6 @@ exports.PenTool = Montage.create(ShapeTool, { | |||
610 | newCanvas.elementModel.selection = "Subpath"; | 610 | newCanvas.elementModel.selection = "Subpath"; |
611 | newCanvas.elementModel.pi = "SubpathPi"; | 611 | newCanvas.elementModel.pi = "SubpathPi"; |
612 | newCanvas.elementModel.shapeModel.strokeSize = this.options.strokeSize.value + " " + this.options.strokeSize.units; | 612 | newCanvas.elementModel.shapeModel.strokeSize = this.options.strokeSize.value + " " + this.options.strokeSize.units; |
613 | var strokeColor = subpath.getStrokeColor(); | ||
614 | newCanvas.elementModel.shapeModel.stroke = strokeColor; | ||
615 | if(strokeColor) { | ||
616 | newCanvas.elementModel.shapeModel.border = this.application.ninja.colorController.colorToolbar.stroke; | ||
617 | } | ||
618 | newCanvas.elementModel.shapeModel.strokeMaterial = subpath.getStrokeMaterial(); | ||
619 | 613 | ||
620 | newCanvas.elementModel.shapeModel.GLGeomObj = subpath; | 614 | newCanvas.elementModel.shapeModel.GLGeomObj = subpath; |
621 | newCanvas.elementModel.shapeModel.useWebGl = this.options.use3D; | 615 | newCanvas.elementModel.shapeModel.useWebGl = this.options.use3D; |