Skip to content

Commit

Permalink
Fix in-place conversion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyAnguelov committed Nov 30, 2021
1 parent b3e8f2d commit 8ac2451
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
Browse.VC.db
Browse.VC.opendb
.suo
_Build/*
Bin/*
.vs/*
*.user
FbxFormatConverter.vcxproj.user
2 changes: 1 addition & 1 deletion FbxFormatConverter.args.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Items": [
{
"Id": "5ae255c1-876e-4bcd-b400-edd0be3b171f",
"Command": "-c SK_Chr_Attach_Female_Armor_02.fbx"
"Command": "-c SM_Bld_Apartment_01.fbx"
},
{
"Id": "778e8d89-1616-468a-a9b1-623270e645a3",
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ int main( int argc, char* argv[] )
else
{
auto outputPath = cmdParser.get<std::string>( "o" );
if ( inputConvertPath.empty() )
if ( outputPath.empty() )
{
return fbxConverter.ConvertFbxFile( inputConvertPath, inputConvertPath, outputFormat );
}
Expand Down

0 comments on commit 8ac2451

Please sign in to comment.