Merge pull request #2190 from jlewin/design_tools
Fix regression in drag/drop to View3DWidget
This commit is contained in:
commit
be0d66ca4d
1 changed files with 2 additions and 1 deletions
|
|
@ -1665,7 +1665,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
// Indicates if MatterControl is in a mode that allows DragDrop
|
||||
private bool AllowDragDrop()
|
||||
{
|
||||
return printItemWrapper?.PrintItem.ReadOnly != false;
|
||||
// Allow drop if printItem is not null and not ReadOnly
|
||||
return !printItemWrapper?.PrintItem.ReadOnly ?? false;
|
||||
}
|
||||
|
||||
private void AutoSpin()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue