copy properties not including root
This commit is contained in:
parent
edc1994cad
commit
7e448a2a71
3 changed files with 3 additions and 3 deletions
|
|
@ -196,7 +196,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
||||||
{
|
{
|
||||||
Mesh = transformedMesh
|
Mesh = transformedMesh
|
||||||
};
|
};
|
||||||
curvedChild.CopyWorldProperties(sourceItem, SourceContainer, Object3DPropertyFlags.All);
|
curvedChild.CopyWorldProperties(sourceItem, SourceContainer, Object3DPropertyFlags.All, false);
|
||||||
curvedChild.Visible = true;
|
curvedChild.Visible = true;
|
||||||
curvedChild.Translate(new Vector3(rotationCenter));
|
curvedChild.Translate(new Vector3(rotationCenter));
|
||||||
if (!BendCcw)
|
if (!BendCcw)
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
||||||
{
|
{
|
||||||
Mesh = transformedMesh
|
Mesh = transformedMesh
|
||||||
};
|
};
|
||||||
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All);
|
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All, false);
|
||||||
this.Children.Add(newMesh);
|
this.Children.Add(newMesh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
||||||
{
|
{
|
||||||
Mesh = transformedMesh
|
Mesh = transformedMesh
|
||||||
};
|
};
|
||||||
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All);
|
newMesh.CopyWorldProperties(sourceItem, this, Object3DPropertyFlags.All, false);
|
||||||
this.Children.Add(newMesh);
|
this.Children.Add(newMesh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue