Splat always crash

classic Classic list List threaded Threaded
6 messages Options
diabear diabear
Reply | Threaded
Open this post in threaded view
|

Splat always crash

gwaldron,

When I using Splat in the latest code, use the mouse to zoom in & out the view, sometimes the program will crash. Using the previous code doesn't have this problem.

I compare the code, can not find the reason.

Do you have this problem? Can you solve this problem? Thank you!

diabear diabear
Reply | Threaded
Open this post in threaded view
|

Re: Splat always crash

This post was updated on .
I start debugging from the last correct code, update Git version one by one.
Finally, the cause of the crash was found:

2017/1/26 update, "RexTerrainEngineNode.cpp" add this line of code

    // ensure we get full coverage at the first LOD.
    this->_requireFullDataAtFirstLOD = true;

This line leads to problems of the Splat crash. Specific reasons are not clear.
diabear diabear
Reply | Threaded
Open this post in threaded view
|

Re: Splat always crash

It's not the reason I referred, the program still crashed ....
diabear diabear
Reply | Threaded
Open this post in threaded view
|

Re: Splat always crash

Roll back the "engine_rex" code to before 2017.1.31 at Github. Everything is OK!
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Splat always crash

Did you narrow it down to a particular commit?
Glenn Waldron / Pelican Mapping
diabear diabear
Reply | Threaded
Open this post in threaded view
|

Re: Splat always crash

Git 2017/1/31 22:17:53
src\osgEarthDrivers\engine_rex\RexTerrainEngineNode
src\osgEarthDrivers\engine_rex\RexTerrainEngineNode.cpp

Changes on the "ElevationChangedCallback" led to the program exception.