path grid recrod

Everything about development and the OpenMW source code.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: path grid recrod

Post by Zini »

I don't see the problem. But you could try to let the compiler find it for you. Make the copy constructor and the assignment operator of ESMStore private (and keep them unimplemented). If somewhere in the code a copy of ESMStore is made, the compiler will produce an error message.
corristo
Posts: 495
Joined: 12 Aug 2011, 08:29

Re: path grid recrod

Post by corristo »

Found problem.
When RenderingManager initialized, Environment's mWorld is still NULL, so invalid reference returned when calling mWorld->getStore().
Post Reply