Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/tool_polyline/kis_tool_polyline.cc
Context not available. | |||||
64 | if (!blockUntilOperationsFinished()) return; | 64 | if (!blockUntilOperationsFinished()) return; | ||
---|---|---|---|---|---|
65 | 65 | | |||
66 | if (image()) { | 66 | if (image()) { | ||
67 | KisRecordedPathPaintAction linePaintAction(KisNodeQueryPath::absolutePath(currentNode()), currentPaintOpPreset()); | 67 | KisRecordedPathPaintAction linePaintAction(KisNodeQueryPath::absolutePath(currentNode()), | ||
68 | currentPaintOpPreset(), | ||||
69 | KisDistanceInitInfo()); | ||||
68 | setupPaintAction(&linePaintAction); | 70 | setupPaintAction(&linePaintAction); | ||
69 | linePaintAction.addPolyLine(points.toList()); | 71 | linePaintAction.addPolyLine(points.toList()); | ||
70 | image()->actionRecorder()->addAction(linePaintAction); | 72 | image()->actionRecorder()->addAction(linePaintAction); | ||
Context not available. |