diff --git a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb index 3bbdda2..ff090e4 100644 --- a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb +++ b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb @@ -743,7 +743,17 @@ Public Class SimulationExpanderVM m_bShowPlay = True OnPropertyChanged("PlayPauseImage") End If - ' Se movimento non riuscito + ' Se movimento con collisione + Else If nMove = MCH_SIM.COLLISION + ' Imposto stato Pausa + SimulationStatus = MCH_SIM_ST.UI_PAUSE + StatusMsg = EgtMsg(MSG_SIMULATION + 11) ' Pausa + ' Aggiornamenti per bottone Play/Pause + m_bShowPlay = True + OnPropertyChanged("PlayPauseImage") + ' Messaggio + MessageBox.Show(EgtMsg(MSG_SIMULATION + 19), EgtMsg(MSG_SIMULATION + 15), MessageBoxButton.OK, MessageBoxImage.Warning) + ' Altrimenti movimento non riuscito Else SimulationStatus = MCH_SIM_ST.UI_STOP ' Aggiornamenti per bottone Play/Pause