Commit 19cfe0ac authored by Craig Watson's avatar Craig Watson

Revert "Remove polygonItems from their Stroke when added to a StrokesGroup"

This reverts commit 177571ca79cbd92f6544c80ce36ded88ce64fa7a.
parent 4491341a
...@@ -114,9 +114,6 @@ UBGraphicsPolygonItem::~UBGraphicsPolygonItem() ...@@ -114,9 +114,6 @@ UBGraphicsPolygonItem::~UBGraphicsPolygonItem()
void UBGraphicsPolygonItem::setStrokesGroup(UBGraphicsStrokesGroup *group) void UBGraphicsPolygonItem::setStrokesGroup(UBGraphicsStrokesGroup *group)
{ {
if (mStroke)
mStroke->remove(this);
mpGroup = group; mpGroup = group;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment