Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Krita
Commits
7b4550bd
Commit
7b4550bd
authored
Mar 03, 2019
by
Anna Medonosova
Browse files
Fix creating vector shapes with pattern fill
BUG: 405037
parent
917d6980
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/ui/tool/kis_tool.cc
View file @
7b4550bd
...
...
@@ -160,7 +160,7 @@ void KisTool::canvasResourceChanged(int key, const QVariant & v)
d
->
currentBgColor
=
v
.
value
<
KoColor
>
();
break
;
case
(
KisCanvasResourceProvider
::
CurrentPattern
):
d
->
currentPattern
=
static_cast
<
KoPattern
*>
(
v
.
value
<
void
*>
()
);
d
->
currentPattern
=
v
.
value
<
KoPattern
*>
();
break
;
case
(
KisCanvasResourceProvider
::
CurrentGradient
):
d
->
currentGradient
=
static_cast
<
KoAbstractGradient
*>
(
v
.
value
<
void
*>
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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