Fixed plugin->Load invocation (passed wxString instead of const char*)

This commit is contained in:
Cirilo Bernardo
2016-01-11 14:04:54 +11:00
parent c24c07962b
commit 2bdc4d770b
+1 -1
View File
@@ -451,7 +451,7 @@ SCENEGRAPH* S3D_PLUGIN_MANAGER::Load3DModel( const wxString& aFileName )
{
if( sL->second->CanRender() )
{
SCENEGRAPH* sp = sL->second->Load( aFileName );
SCENEGRAPH* sp = sL->second->Load( aFileName.ToUTF8() );
if( NULL != sp )
return sp;