build 200709. milek7/sim branch scenery editor node bank code import

This commit is contained in:
tmj-fstate
2020-07-10 16:18:12 +02:00
parent e9c21b369f
commit c4bcb94d79
13 changed files with 342 additions and 8 deletions

View File

@@ -929,7 +929,12 @@ TAnimModel::export_as_text_( std::ostream &Output ) const {
// don't include 'textures/' in the path
texturefile.erase( 0, std::string{ szTexturePath }.size() );
}
Output << texturefile << ' ';
if( texturefile.find( ' ' ) == std::string::npos ) {
Output << texturefile << ' ';
}
else {
Output << "\"" << texturefile << "\"" << ' ';
}
// light submodels activation configuration
if( iNumLights > 0 ) {
Output << "lights ";