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
98734ee2
Commit
98734ee2
authored
Aug 28, 2012
by
Halla Rempt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some warnings
parent
24aecf63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
krita/ui/kis_mirror_visitor.cpp
krita/ui/kis_mirror_visitor.cpp
+5
-5
No files found.
krita/ui/kis_mirror_visitor.cpp
View file @
98734ee2
...
...
@@ -46,13 +46,13 @@ bool KisMirrorVisitor::visit(KisFilterMask* mask)
return
true
;
}
bool
KisMirrorVisitor
::
visit
(
KisCloneLayer
*
layer
)
bool
KisMirrorVisitor
::
visit
(
KisCloneLayer
*
/*
layer
*/
)
{
return
true
;
}
bool
KisMirrorVisitor
::
visit
(
KisGeneratorLayer
*
layer
)
bool
KisMirrorVisitor
::
visit
(
KisGeneratorLayer
*
/*
layer
*/
)
{
return
true
;
...
...
@@ -72,7 +72,7 @@ bool KisMirrorVisitor::visit(KisExternalLayer* layer)
}
bool
KisMirrorVisitor
::
visit
(
KisAdjustmentLayer
*
layer
)
bool
KisMirrorVisitor
::
visit
(
KisAdjustmentLayer
*
/*
layer
*/
)
{
return
true
;
...
...
@@ -110,7 +110,7 @@ bool KisMirrorVisitor::visit(KisPaintLayer* layer)
return
true
;
}
bool
KisMirrorVisitor
::
visit
(
KisNode
*
node
)
bool
KisMirrorVisitor
::
visit
(
KisNode
*
/*
node
*/
)
{
return
true
;
...
...
@@ -138,7 +138,7 @@ bool KisMirrorVisitor::mirrorMask(KisMask* mask)
dirty
=
KisTransformWorker
::
mirrorY
(
dev
,
m_image
->
height
()
/
2.0
f
);
}
mask
->
setDirty
(
dirty
);
transaction
.
commit
(
m_image
->
undoAdapter
());
transaction
.
commit
(
m_image
->
undoAdapter
());
dev
->
setDirty
(
dirty
);
}
/* TODO: Doesn't work correctly even thoush it's the same code as the shape layer
...
...
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