protected override void OnEarlySceneUpdatePhase(SceneUpdatePhaseEventArgs args) { base.OnEarlySceneUpdatePhase(args); if (this.activePathEditInformation == null || this.activePathEditInformation.ActivePathEditorTarget.EditingElement.ViewObject != null && this.ActiveView.ViewModel.ElementSelectionSet.IsSelected((SceneElement)this.activePathEditInformation.ActivePathEditorTarget.EditingElement)) { return; } this.activePathEditInformation = (ActivePathEditInformation)null; }
protected override void OnDeactivate() { this.activePathEditInformation = (ActivePathEditInformation)null; base.OnDeactivate(); }