Page 1 of 1

prefab meshes and removeUnreferencedResources

Posted: Sat Sep 24, 2011 1:58 pm
by Cougar
Hi, before reporting this in the bug tracker, I wanted to ask about your opinion.
Currently, calling MeshManager::removeUnreferencedResources() deletes all prefab meshes, if they haven't been referenced yet. Do you think this is expected behavior? I certainly didn't expect that :) I think the prefab meshes should be always "locked" in place (i.e. Ogre should keep a reference to them internally) so that they are always available when needed.
Or am I missing something?

Re: prefab meshes and removeUnreferencedResources

Posted: Fri Oct 21, 2011 4:11 pm
by cyrfer
For the sake of discussion, I had no idea that behavior was offered by OGRE. I've been trying to figure out how to remove all the resources that OGRE makes without my permission. I hope it works for me, and I hope the behavior does not change.

Re: prefab meshes and removeUnreferencedResources

Posted: Fri Oct 21, 2011 4:55 pm
by Klaim
Isn't there some discussion to replace the prefabs by Ogre Procedural plugin?