Allow Model -> Right Click in Part view
- Issue MatterHackers/MCCentral#4068 Lost the transform controls in design view
This commit is contained in:
parent
3176aacbcf
commit
736eab7141
1 changed files with 2 additions and 1 deletions
|
|
@ -1158,7 +1158,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
var info = new IntersectInfo();
|
||||
|
||||
if (FindHitObject3D(mouseEvent.Position, ref info) is IObject3D hitObject
|
||||
&& this.Printer?.ViewState.ViewMode == PartViewMode.Model) // Disallow Model -> Right Click in GCode views
|
||||
&& (this.Printer == null // Allow Model -> Right Click in Part view
|
||||
|| this.Printer?.ViewState.ViewMode == PartViewMode.Model)) // Disallow Model -> Right Click in GCode views
|
||||
{
|
||||
// Object3D/hit item context menu
|
||||
if (hitObject != selectedItem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue