Pass SceneContext instead of Scene to SceneSelectionOperations
- Required to remove ActivePrinter from InsertNewItem - Required to break ActivePrinter dependencies - Issue MatterHackers/MCCentral#4549 Remove ActivePrinter from ApplicationController
This commit is contained in:
parent
fdad2a1774
commit
5489c3b09a
3 changed files with 30 additions and 24 deletions
|
|
@ -487,7 +487,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
namedAction.Action.Invoke(sceneContext.Scene);
|
||||
namedAction.Action.Invoke(sceneContext);
|
||||
var partTab = button.Parents<PartTabPage>().FirstOrDefault();
|
||||
var view3D = partTab.Descendants<View3DWidget>().FirstOrDefault();
|
||||
view3D.InteractionLayer.Focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue