diff --git a/Icarus/My Project/AssemblyInfo.vb b/Icarus/My Project/AssemblyInfo.vb index cf0d198..4949376 100644 --- a/Icarus/My Project/AssemblyInfo.vb +++ b/Icarus/My Project/AssemblyInfo.vb @@ -70,5 +70,5 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + + diff --git a/Icarus/ProjManager/ProjManagerVM.vb b/Icarus/ProjManager/ProjManagerVM.vb index 5fa3046..e60b20a 100644 --- a/Icarus/ProjManager/ProjManagerVM.vb +++ b/Icarus/ProjManager/ProjManagerVM.vb @@ -197,7 +197,7 @@ Public Class ProjManagerVM End Sub Friend Function OpenProject(sFilePath As String) As Boolean - Map.refSceneHostVM.OpenProject(sFilePath) + Return Map.refSceneHostVM.OpenProject(sFilePath) End Function #End Region ' OpenCommand diff --git a/Icarus/Utility/CurrentMachine.vb b/Icarus/Utility/CurrentMachine.vb index 827f950..70b028c 100644 --- a/Icarus/Utility/CurrentMachine.vb +++ b/Icarus/Utility/CurrentMachine.vb @@ -160,7 +160,7 @@ Public Module CurrentMachine ' se non esiste file dati macchina, esco If String.IsNullOrWhiteSpace(m_sMachDataIniFile) Then Return ' recupero tipo di slice - Dim sExtrusionType As String + Dim sExtrusionType As String = S_VERTICAL Dim GeneralCathegory As MachiningCathegory = Map.refTopPanelVM.CurrMachining.CathegoryList.FirstOrDefault(Function(x) x.Type = MachiningCathegory.Cathegories.GENERAL) Dim SlicingTypeParam As ComboMachiningParam = GeneralCathegory.MachiningParamList.FirstOrDefault(Function(x) x.Type = MachiningParam.Params.SLICINGTYPE) Dim SlicingTypeValue As Machining.MPAR_SLICINGTYPE = SlicingTypeParam.SelValue.Id