Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Blackbeard (alberto flores)
Krita
Commits
058756d2
Commit
058756d2
authored
Aug 09, 2019
by
Blackbeard (alberto flores)
🚢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Intitalize Private struct to hold KisVectorHelperPipe object
parent
eae68aa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
libs/brush/kis_vectoranimated_brush.cpp
libs/brush/kis_vectoranimated_brush.cpp
+9
-1
libs/brush/kis_vectoranimated_brush.h
libs/brush/kis_vectoranimated_brush.h
+2
-0
No files found.
libs/brush/kis_vectoranimated_brush.cpp
View file @
058756d2
...
...
@@ -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
())
,
m_svg
(
rhs
.
m_svg
)
{
}
...
...
libs/brush/kis_vectoranimated_brush.h
View file @
058756d2
...
...
@@ -71,6 +71,8 @@ public:
private:
struct
Private
;
Private
*
const
m_d
;
QByteArray
m_svg
;
QList
<
KoShape
*>
m_shapes
;
static
QList
<
KisVectorShapeObject
>
m_vectorObjects
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment