diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-10-16 17:27:03 -0500 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-10-16 17:27:03 -0500 | 
| commit | b19a5c192fbbfb2e94c8dacc9db6808f47bbfd07 (patch) | |
| tree | 39cff32a507ac59ac06f19e7cee00a17b2b1fc87 /indra/newview | |
| parent | 12621b9d0604fa56dd3415ee5f62b5312090d2d6 (diff) | |
MAINT-1404 Fix for child objects not appearing to move when editing until deselecting.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llmanip.cpp | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/indra/newview/llmanip.cpp b/indra/newview/llmanip.cpp index 6e0f360cbc..9ec5d7c20c 100644 --- a/indra/newview/llmanip.cpp +++ b/indra/newview/llmanip.cpp @@ -72,7 +72,6 @@ void LLManip::rebuild(LLViewerObject* vobj)  	LLDrawable* drawablep = vobj->mDrawable;  	if (drawablep && drawablep->getVOVolume())  	{ -		  		gPipeline.markRebuild(drawablep,LLDrawable::REBUILD_VOLUME, TRUE);  		drawablep->setState(LLDrawable::MOVE_UNDAMPED); // force to UNDAMPED  		drawablep->updateMove(); @@ -82,6 +81,14 @@ void LLManip::rebuild(LLViewerObject* vobj)  			group->dirtyGeom();  			gPipeline.markRebuild(group, TRUE);  		} + +		LLViewerObject::const_child_list_t& child_list = vobj->getChildren(); +		for (LLViewerObject::child_list_t::const_iterator iter = child_list.begin(), endIter = child_list.end(); +			 iter != endIter; ++iter) +		{ +			LLViewerObject* child = *iter; +			rebuild(child); +		}  	}  } | 
