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
4126e6dd
Commit
4126e6dd
authored
Sep 16, 2022
by
Dmitry Kazakov
Browse files
Fix a crash when copy/paste a shape layer
BUG:458115
(cherry picked from commit
31ed09f8
)
parent
ed757644
Pipeline
#232995
failed with stage
in 71 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libs/ui/flake/kis_shape_layer_canvas.cpp
View file @
4126e6dd
...
...
@@ -37,7 +37,9 @@
KisShapeLayerCanvasBase
::
KisShapeLayerCanvasBase
(
KisShapeLayer
*
parent
,
KisImageWSP
image
)
:
KoCanvasBase
(
0
)
,
m_viewConverter
(
new
KisImageViewConverter
(
image
))
,
m_viewConverter
(
image
?
static_cast
<
KisClonableViewConverter
*>
(
new
KisImageViewConverter
(
image
))
:
static_cast
<
KisClonableViewConverter
*>
(
new
KisDetachedShapesViewConverter
(
1.0
,
1.0
)))
,
m_shapeManager
(
new
KoShapeManager
(
this
))
,
m_selectedShapesProxy
(
new
KoSelectedShapesProxySimple
(
m_shapeManager
.
data
()))
{
...
...
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