Building with new typography update

fixed a bug with dragging
This commit is contained in:
Lars Brubaker 2018-09-25 18:00:19 -07:00
parent ff788063f2
commit 06c5224bb4
3 changed files with 22 additions and 24 deletions

View file

@ -516,7 +516,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
IObject3D selectedItem = Scene.SelectedItem;
// Move the object being dragged
if (this.DragOperationActive
&& this.DragDropObject != null)
&& this.DragDropObject != null
&& selectedItem != null)
{
// Move the DropDropObject the target item
DragSelectedObject(selectedItem, localMousePosition: this.TransformFromParentSpace(topMostParent, screenSpaceMousePosition));