16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 09:59:18 +02:00

changes for standalone e3d export

This commit is contained in:
milek7
2022-03-06 18:18:07 +01:00
parent 3cb5b5fd9a
commit ce6d530aa8
10 changed files with 210 additions and 9 deletions

View File

@@ -2277,7 +2277,7 @@ void TModel3d::Init()
Root->m_boundingradius = std::max( Root->m_boundingradius, root->m_boundingradius );
}
if( ( Global.iConvertModels > 0 )
if( ( Global.iConvertModels & 1 )
&& ( false == asBinary.empty() ) ) {
SaveToBinFile( asBinary );
asBinary = ""; // zablokowanie powtórnego zapisu