MatterCad tools working much better.
This commit is contained in:
parent
e2de82238d
commit
5c9f6b5c3e
2 changed files with 123 additions and 52 deletions
|
|
@ -54,7 +54,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
await Task.Run(() =>
|
||||
{
|
||||
var selectedItem = Scene.SelectedItem;
|
||||
bool isGroupItemType = Scene.IsSelected(Object3DTypes.Group) || selectedItem.Name.ToLower().EndsWith(".mcx");
|
||||
bool isGroupItemType = Scene.HasSelection && selectedItem.Children.Count > 0;
|
||||
|
||||
// If not a Group ItemType, look for mesh volumes and split into distinct objects if found
|
||||
if (!isGroupItemType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue