Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Fred Fonkle
Krita
Commits
8a8bcd96
Commit
8a8bcd96
authored
Oct 11, 2018
by
Halla Rempt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix creating masks.
parent
c8d30a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libs/ui/kis_node_manager.cpp
libs/ui/kis_node_manager.cpp
+3
-3
No files found.
libs/ui/kis_node_manager.cpp
View file @
8a8bcd96
...
...
@@ -591,11 +591,11 @@ void KisNodeManager::convertNode(const QString &nodeType)
bool
result
=
false
;
if
(
nodeType
==
"KisSelectionMask"
)
{
result
=
m_d
->
maskManager
.
createSelectionMask
(
activeNode
,
copyFrom
,
true
).
isNull
();
result
=
!
m_d
->
maskManager
.
createSelectionMask
(
activeNode
,
copyFrom
,
true
).
isNull
();
}
else
if
(
nodeType
==
"KisFilterMask"
)
{
result
=
m_d
->
maskManager
.
createFilterMask
(
activeNode
,
copyFrom
,
false
,
true
).
isNull
();
result
=
!
m_d
->
maskManager
.
createFilterMask
(
activeNode
,
copyFrom
,
false
,
true
).
isNull
();
}
else
if
(
nodeType
==
"KisTransparencyMask"
)
{
result
=
m_d
->
maskManager
.
createTransparencyMask
(
activeNode
,
copyFrom
,
true
).
isNull
();
result
=
!
m_d
->
maskManager
.
createTransparencyMask
(
activeNode
,
copyFrom
,
true
).
isNull
();
}
m_d
->
commandsAdapter
.
endMacro
();
...
...
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