diff options
author | Dave Parks <davep@lindenlab.com> | 2013-08-30 15:55:20 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-08-30 15:55:20 -0500 |
commit | cacefaf2fc1b95557aca62dc69dbe3744c6424b0 (patch) | |
tree | df40cd0f4ca2aec9bd57591733441bc2a4115610 /indra/newview/llviewerpartsim.cpp | |
parent | f638fc803dbd53985253237efb12b1707f42d49d (diff) |
MAINT-2811 Fix for infinite loop on octree code during teleport.
Diffstat (limited to 'indra/newview/llviewerpartsim.cpp')
-rwxr-xr-x | indra/newview/llviewerpartsim.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerpartsim.cpp b/indra/newview/llviewerpartsim.cpp index 96cd43a8ab..163c90019f 100755 --- a/indra/newview/llviewerpartsim.cpp +++ b/indra/newview/llviewerpartsim.cpp @@ -160,7 +160,11 @@ LLViewerPartGroup::LLViewerPartGroup(const LLVector3 ¢er_agent, const F32 bo } mVOPartGroupp->setViewerPartGroup(this); mVOPartGroupp->setPositionAgent(getCenterAgent()); + + mBoxSide = box_side; + F32 scale = box_side * 0.5f; + mVOPartGroupp->setScale(LLVector3(scale,scale,scale)); //gPipeline.addObject(mVOPartGroupp); |