Improving ungroup
issue: MatterHackers/MCCentral#4129 Content moves when ungrouped
This commit is contained in:
parent
52d22d32f0
commit
30cef6ef5a
5 changed files with 15 additions and 31 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue