Closed ChrisDenham closed 9 years ago
I think the index array used to create the distortion mesh must be copied rather than referenced, so this change just uses osg::ref_ptr to make sure it is released.
Good catch!
I think the index array used to create the distortion mesh must be copied rather than referenced, so this change just uses osg::ref_ptr to make sure it is released.