Skip to content
Snippets Groups Projects
Commit 4bab66a4 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-15100 Crash rebulding faces #2

All preRebuild crashes appear to be LLVolumeImplFlexible
parent 52a8e629
No related branches found
No related tags found
No related merge requests found
......@@ -734,11 +734,14 @@ void LLVolumeImplFlexible::preRebuild()
void LLVolumeImplFlexible::doFlexibleRebuild(bool rebuild_volume)
{
LLVolume* volume = mVO->getVolume();
if(rebuild_volume)
{
volume->setDirty();
}
volume->regen();
if (volume)
{
if (rebuild_volume)
{
volume->setDirty();
}
volume->regen();
}
mUpdated = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment