Improving ungroup

issue: MatterHackers/MCCentral#4129
Content moves when ungrouped
This commit is contained in:
LarsBrubaker 2018-09-22 17:53:15 -07:00
parent 52d22d32f0
commit 30cef6ef5a
5 changed files with 15 additions and 31 deletions

View file

@ -77,7 +77,7 @@ namespace MatterHackers.MatterControl.DesignTools
public override void Apply(UndoBuffer undoBuffer)
{
// change this from a text object to a group
var newContainer = new Object3D();
var newContainer = new GroupObject3D();
newContainer.CopyProperties(this, Object3DPropertyFlags.All);
foreach (var child in this.Children)
{