Make flatten only copy appropriate properties by default
issue: MatterHackers/MCCentral#4229 Merge on align should not clear the colors that were on the objects refactor apply and merge => flatten
This commit is contained in:
parent
75d9afd855
commit
efe03cb642
18 changed files with 37 additions and 37 deletions
|
|
@ -72,9 +72,9 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public NamedTypeFace Font { get; set; } = new NamedTypeFace();
|
||||
|
||||
public override bool CanApply => true;
|
||||
public override bool CanFlatten => true;
|
||||
|
||||
public override void Apply(UndoBuffer undoBuffer)
|
||||
public override void Flatten(UndoBuffer undoBuffer)
|
||||
{
|
||||
// change this from a text object to a group
|
||||
var newContainer = new GroupObject3D();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue