Fixed issue #971. Group operation do not work with VCubicBezierPath.

(grafted from 9981e18a57078493856549209156b9919e635673)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-05-10 18:44:12 +03:00
parent 8b0f1c0cc9
commit cdca310504
2 changed files with 1 additions and 5 deletions

View File

@ -45,6 +45,7 @@
- [#966] Unable to control Approximation scale for arc with length. - [#966] Unable to control Approximation scale for arc with length.
- [#967] Variable must not include new line character. - [#967] Variable must not include new line character.
- German translation for Inno setup script. - German translation for Inno setup script.
- [#971] Group operation do not work with VCubicBezierPath.
# Version 0.6.1 October 23, 2018 # Version 0.6.1 October 23, 2018
- [#885] Regression. Broken support for multi size measurements. - [#885] Regression. Broken support for multi size measurements.

View File

@ -146,11 +146,6 @@ const VPointF &VCubicBezierPath::at(int indx) const
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void VCubicBezierPath::append(const VPointF &point) void VCubicBezierPath::append(const VPointF &point)
{ {
if (d->path.size() > 0 && static_cast<QPointF>(d->path.last()) != static_cast<QPointF>(point))
{
return;
}
d->path.append(point); d->path.append(point);
CreateName(); CreateName();
} }