-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
In our multi-threaded application, we have a thread that renders osg, and
another one that displays a GUI. That GUI changes ocean properties, such as
refraction.
When enabling/disabling refraction, a null-pointer is dereferenced in
OceanScene::ViewData::cull()
I do not know the exact sequence that causes this, but I simply added a check
for null-pointers and the problem went away.
Here's a patch file of my modifications in OceanScene.cpp.
Any idea why this might happen?
Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 8:51
Attachments: