Fixed plugin->Load invocation (passed wxString instead of const char*)
This commit is contained in:
parent
c24c07962b
commit
2bdc4d770b
|
@ -451,7 +451,7 @@ SCENEGRAPH* S3D_PLUGIN_MANAGER::Load3DModel( const wxString& aFileName )
|
||||||
{
|
{
|
||||||
if( sL->second->CanRender() )
|
if( sL->second->CanRender() )
|
||||||
{
|
{
|
||||||
SCENEGRAPH* sp = sL->second->Load( aFileName );
|
SCENEGRAPH* sp = sL->second->Load( aFileName.ToUTF8() );
|
||||||
|
|
||||||
if( NULL != sp )
|
if( NULL != sp )
|
||||||
return sp;
|
return sp;
|
||||||
|
|
Loading…
Reference in New Issue