Thought I'd start a new thread on this as it may have been too well hidden in my other thread...
Android, when sleeping or pressing the home button, has to destroy all resources and recreate them once the app comes back into view.
This works expect for OgreManualObjects. These are simple meshes: 4 vertices, colour, UV, - it doesn't seem make a difference whether I then convert them to meshes 'ConvertToMesh' - as the resources are recreated, if I had any ManualObjects, the app crashes and restarts.
The solution I have found is to monitor the app, and when it is about to destroy resources, manually destroy my manual objects, and create them once other resources have been created.
I'm using a recent 1.9 build if that's any help.
Android - Manual Objects
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Android - Manual Objects
Can you make a mantis bug entry so this wont get lost i will soon tackle this one.
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99