Clean up naming of plugin VRML test output
This commit is contained in:
parent
fad73f0e85
commit
012e0a2066
|
@ -299,7 +299,7 @@ SCENEGRAPH* Load( char const* aFileName )
|
|||
if( data )
|
||||
{
|
||||
wxFileName fn( aFileName );
|
||||
wxString output = wxT( "z" );
|
||||
wxString output = wxT( "_idf-" );
|
||||
output.append( fn.GetName() );
|
||||
output.append( wxT(".wrl") );
|
||||
S3D::WriteVRML( output, true, (SGNODE*)(data), true, true );
|
||||
|
|
|
@ -221,7 +221,13 @@ SCENEGRAPH* Load( char const* aFileName )
|
|||
if( scene )
|
||||
{
|
||||
wxFileName fn( wxString::FromUTF8Unchecked( aFileName ) );
|
||||
wxString output = wxT( "_" );
|
||||
wxString output;
|
||||
|
||||
if( proc.GetVRMLType() == VRML_V1 )
|
||||
output = wxT( "_vrml1-" );
|
||||
else
|
||||
output = wxT( "_vrml2-" );
|
||||
|
||||
output.append( fn.GetName() );
|
||||
output.append( wxT(".wrl") );
|
||||
S3D::WriteVRML( output, true, (SGNODE*)(scene), true, true );
|
||||
|
|
Loading…
Reference in New Issue