diff options
| -rw-r--r-- | indra/newview/lldrawable.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llviewerobject.cpp | 8 | 
2 files changed, 8 insertions, 3 deletions
| diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index 82ea5cd5a6..4eda2b92b3 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -625,8 +625,6 @@ BOOL LLDrawable::updateMove()  		return FALSE;  	} -	makeActive(); -	  	BOOL done;  	if (isState(MOVE_UNDAMPED)) @@ -635,6 +633,7 @@ BOOL LLDrawable::updateMove()  	}  	else  	{ +		makeActive();  		done = updateMoveDamped();  	}  	return done; diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index f5a3681437..b52c9d0d4b 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -782,7 +782,13 @@ BOOL LLViewerObject::setDrawableParent(LLDrawable* parentp)  	}  	LLDrawable* old_parent = mDrawable->mParent;  	mDrawable->mParent = parentp;  -		 +	 +	if (parentp && mDrawable->isActive()) +	{ +		parentp->makeActive(); +		parentp->setState(LLDrawable::ACTIVE_CHILD); +	} +  	gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_VOLUME, TRUE);  	if(	(old_parent != parentp && old_parent)  		|| (parentp && parentp->isActive())) | 
