← Back to team overview

kicad-developers team mailing list archive

BUG: broken 3D viewer

 

Hi folks,

 After commit 4657 the 3D viewer (and VRML exporter) are broken. I would
appreciate any comments on the best way to fix the issue; I'm happy to
fix it after we have some agreement of what should be done.

Cause: replacement of wxGetApp().FindLibraryPath( filename ) with
wxExpandEnvVars( filename )

Existing projects do not have an ${ENVAR} prefix in the names so files
are not found unless they happen to be relative to the working directory
or absolute paths.

My question is, was the expansion meant to read something like:

wxExpandEnvVars( VAR+filename )


or was something more substantial intended such as inclusion of a ${VAR}
prefix for every model under a certain subdirectory?

- Cirilo