summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerpartsim.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-08-30 15:55:20 -0500
committerDave Parks <davep@lindenlab.com>2013-08-30 15:55:20 -0500
commitcacefaf2fc1b95557aca62dc69dbe3744c6424b0 (patch)
treedf40cd0f4ca2aec9bd57591733441bc2a4115610 /indra/newview/llviewerpartsim.cpp
parentf638fc803dbd53985253237efb12b1707f42d49d (diff)
MAINT-2811 Fix for infinite loop on octree code during teleport.
Diffstat (limited to 'indra/newview/llviewerpartsim.cpp')
-rwxr-xr-xindra/newview/llviewerpartsim.cpp4
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 &center_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);