diff --git a/RvtVa3c/Command.cs b/RvtVa3c/Command.cs index bbb4b86..9203487 100644 --- a/RvtVa3c/Command.cs +++ b/RvtVa3c/Command.cs @@ -107,7 +107,8 @@ static bool SelectFile( if( rc ) { - filename = Path.GetFileName( dlg.FileName ); + filename = Path.Combine( dlg.InitialDirectory, + dlg.FileName ); folder_path = Path.GetDirectoryName( filename ); diff --git a/RvtVa3c/Properties/AssemblyInfo.cs b/RvtVa3c/Properties/AssemblyInfo.cs index 20ab644..64bdac0 100644 --- a/RvtVa3c/Properties/AssemblyInfo.cs +++ b/RvtVa3c/Properties/AssemblyInfo.cs @@ -35,6 +35,7 @@ // // History: // 2014-09-02 2015.0.0.19 minor cleanup before removing scene definition +// 2014-09-03 2015.0.0.20 fixed bug in SelectFile, need to determine full output path // -[assembly: AssemblyVersion( "2015.0.0.19" )] -[assembly: AssemblyFileVersion( "2015.0.0.19" )] +[assembly: AssemblyVersion( "2015.0.0.20" )] +[assembly: AssemblyFileVersion( "2015.0.0.20" )]