Skip to content
Snippets Groups Projects
Commit 0ef13640 authored by Nyx (Neal Orman)'s avatar Nyx (Neal Orman)
Browse files

STORM-1275 FIX viewer gets caught in infinite loop for decompstub

Fixed setting the initialized flag for the decomposition stub case
(for OS builds) so that the viewer doesn't hang when initializing the stub.

Note that initialized will be set to true even when instance will return NULL.
parent 294c5f3d
No related branches found
No related tags found
No related merge requests found
......@@ -3667,6 +3667,9 @@ void LLPhysicsDecomp::run()
LLConvexDecomposition* decomp = LLConvexDecomposition::getInstance();
if (decomp == NULL)
{
// stub library. Set init to true so the main thread
// doesn't wait for this to finish.
mInited = true;
return;
}
......
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