prefab meshes and removeUnreferencedResources

Minor issues with the Ogre API that can be trivial to fix

prefab meshes and removeUnreferencedResources

Postby Cougar » Sat Sep 24, 2011 1:58 pm

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?
Posts: 47
Kudos: 1
Joined: 09 Apr 2007

Re: prefab meshes and removeUnreferencedResources

Postby cyrfer » Fri Oct 21, 2011 4:11 pm

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.
Posts: 424
Kudos: 5
Joined: 01 Aug 2007
Location: Venice, CA, USA

Re: prefab meshes and removeUnreferencedResources

Postby Klaim » Fri Oct 21, 2011 4:55 pm

Isn't there some discussion to replace the prefabs by Ogre Procedural plugin?
User avatar
Old One
Posts: 2565
Kudos: 60
Joined: 11 Sep 2005
Location: Paris, France

Return to Papercuts

Who is online

Users browsing this forum: No registered users and 2 guests