Bug putting a new material file [SOLVED]

kintaro

16-05-2006 21:28:38

Hi I am having a problem with material file of a scene.

I have a scene that is loading ok. In the future I want to unload this scene and load a new one. But I didn't change my code to do that yet.

Without changing the code yet, I had putted the new scene files in their correct folders, just that.

The problem is that my application does not works when the new scene material file is in the media->material->scripts folder. If I delete the material file, my application works again.

So how can I solve this problem?

Thanks for help.

Lioric

17-05-2006 01:04:57

Probably you have duplicated materials (i.e another material with the same name is loaded before)

Post your applications's ogre.log file or review it for error messages

kintaro

26-05-2006 02:35:30

Thanks Lioric, that was the problem. Now everything is working very well. Thanks again