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
Dmitry Kazakov
Krita
Commits
5fe44e27
Commit
5fe44e27
authored
Apr 13, 2021
by
Sharaf Zaman
Committed by
Halla Rempt
Apr 13, 2021
Browse files
Bugfix: Particle Engine memory usage with negative
.. value of gravity. BUG:434467
parent
8e47877c
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/paintops/particle/particle_brush.cpp
View file @
5fe44e27
...
...
@@ -86,7 +86,7 @@ void ParticleBrush::draw(KisPaintDeviceSP dab, const KoColor& color, const QPoin
QRect
boundingRect
;
if
(
m_properties
->
scale
.
x
()
<
0
||
m_properties
->
scale
.
y
()
<
0
)
{
if
(
m_properties
->
scale
.
x
()
<
0
||
m_properties
->
scale
.
y
()
<
0
||
m_properties
->
gravity
<
0
)
{
boundingRect
=
dab
->
defaultBounds
()
->
bounds
();
}
...
...
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