Commit 1f4a407a authored by Blackbeard (alberto flores)'s avatar Blackbeard (alberto flores) 🚢

Intitalize Private struct to hold KisVectorHelperPipe object

parent eae68aa7
......@@ -57,6 +57,9 @@ public:
m_parasite.nextIndex();
m_currentIndex = m_parasite.index();
}
void notifyStrokeStarted() override {
}
private:
int m_currentIndex;
......@@ -65,10 +68,14 @@ private:
struct KisVectorAnimatedBrush::Private {
public:
KisVectorHelperPipe brushesPipe;
};
KisVectorAnimatedBrush::KisVectorAnimatedBrush(const QString& filename)
: KisScalingSizeBrush(filename)
, m_d(new Private())
{
setBrushType(PIPE_MASK);
setSpacing(1.0);
......@@ -78,6 +85,7 @@ KisVectorAnimatedBrush::KisVectorAnimatedBrush(const QString& filename)
KisVectorAnimatedBrush::KisVectorAnimatedBrush(const KisVectorAnimatedBrush& rhs)
: KisScalingSizeBrush(rhs)
, m_d(new Private(*rhs.m_d))
, m_svg(rhs.m_svg)
{
}
......
......@@ -71,6 +71,8 @@ public:
private:
struct Private;
Private * const m_d;
QByteArray m_svg;
QList<KoShape*> m_shapes;
static QList<KisVectorShapeObject> m_vectorObjects;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment