I would like to know how to load model files that are NOT on the model path (from any config prc).
For a sceneEditor you must be able to pick model from any place of your hardrive.
Also i know the path is good as it come from a tkaskopenfilename control.
Error is :
By the way if i put the bam file in ./models it works, this mean in
e/WG/Panda3D1/SceneEditor/models which don’t look like on the path described in error message!
Also note that if you wanted to explicitly load the file E:/WG/Panda3D1/models/test.bam, regardless of your model-path, you should name the file following the Panda Filename convention: /e/WG/Panda3D1/models/test.bam .
To Panda, the initial E: looks like a local directory named “E:”, it doesn’t realize that’s intended to be a drive letter. But if you start your filename path with /e/, it understands that you mean a file on drive E.