copy properties not including root

This commit is contained in:
LarsBrubaker 2020-05-23 11:11:42 -07:00
parent edc1994cad
commit 7e448a2a71
3 changed files with 3 additions and 3 deletions

View file

@ -196,7 +196,7 @@ namespace MatterHackers.MatterControl.DesignTools
{
Mesh = transformedMesh
};
curvedChild.CopyWorldProperties(sourceItem, SourceContainer, Object3DPropertyFlags.All);
curvedChild.CopyWorldProperties(sourceItem, SourceContainer, Object3DPropertyFlags.All, false);
curvedChild.Visible = true;
curvedChild.Translate(new Vector3(rotationCenter));
if (!BendCcw)

View file

@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl.DesignTools
{
Mesh = transformedMesh
};
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All);
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All, false);
this.Children.Add(newMesh);
}

View file

@ -100,7 +100,7 @@ namespace MatterHackers.MatterControl.DesignTools
{
Mesh = transformedMesh
};
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All);
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All, false);
this.Children.Add(newMesh);
}