manage path routines

This commit is contained in:
Garux
2021-01-22 02:21:54 +03:00
parent b0e62198ba
commit d734199601
18 changed files with 50 additions and 98 deletions

View File

@@ -293,9 +293,7 @@ ClassImporter( EntityClassCollector& collector, ListAttributeTypes& listTypes, c
const char* model = element.attribute( "model" );
if ( !string_empty( model ) ) {
StringOutputStream buffer( 256 );
buffer << PathCleaned( model );
m_eclass->m_modelpath = buffer.c_str();
m_eclass->m_modelpath = StringOutputStream( 256 )( PathCleaned( model ) ).c_str();
}
const char* type = element.name();