Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/tool/kis_recording_adapter.cpp
Context not available. | |||||
36 | { | 36 | { | ||
---|---|---|---|---|---|
37 | } | 37 | } | ||
38 | 38 | | |||
39 | void KisRecordingAdapter::startStroke(KisImageWSP image, KisResourcesSnapshotSP resources) | 39 | void KisRecordingAdapter::startStroke(KisImageWSP image, KisResourcesSnapshotSP resources, | ||
40 | const KisDistanceInitInfo &startDistInfo) | ||||
40 | { | 41 | { | ||
41 | Q_ASSERT(!m_pathPaintAction); | 42 | Q_ASSERT(!m_pathPaintAction); | ||
42 | Q_ASSERT(!m_image); | 43 | Q_ASSERT(!m_image); | ||
43 | 44 | | |||
44 | m_image = image; | 45 | m_image = image; | ||
45 | m_pathPaintAction = new KisRecordedPathPaintAction( | 46 | m_pathPaintAction = new KisRecordedPathPaintAction( | ||
46 | KisNodeQueryPath::absolutePath(resources->currentNode()), 0); | 47 | KisNodeQueryPath::absolutePath(resources->currentNode()), 0, startDistInfo); | ||
47 | 48 | | |||
48 | resources->setupPaintAction(m_pathPaintAction); | 49 | resources->setupPaintAction(m_pathPaintAction); | ||
49 | } | 50 | } | ||
Context not available. |