diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerobject.cpp | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp index bd5abe2..4ab0957 100644 --- a/linden/indra/newview/llviewerobject.cpp +++ b/linden/indra/newview/llviewerobject.cpp | |||
@@ -2787,11 +2787,6 @@ BOOL LLViewerObject::updateGeometry(LLDrawable *drawable) | |||
2787 | return TRUE; | 2787 | return TRUE; |
2788 | } | 2788 | } |
2789 | 2789 | ||
2790 | void LLViewerObject::updateGL() | ||
2791 | { | ||
2792 | |||
2793 | } | ||
2794 | |||
2795 | void LLViewerObject::updateFaceSize(S32 idx) | 2790 | void LLViewerObject::updateFaceSize(S32 idx) |
2796 | { | 2791 | { |
2797 | 2792 | ||
@@ -2896,7 +2891,7 @@ F32 LLViewerObject::getMidScale() const | |||
2896 | } | 2891 | } |
2897 | 2892 | ||
2898 | 2893 | ||
2899 | void LLViewerObject::updateTextures(LLAgent &agent) | 2894 | void LLViewerObject::updateTextures() |
2900 | { | 2895 | { |
2901 | } | 2896 | } |
2902 | 2897 | ||
@@ -3741,7 +3736,6 @@ S32 LLViewerObject::setTEColor(const U8 te, const LLColor4& color) | |||
3741 | else if (color != tep->getColor()) | 3736 | else if (color != tep->getColor()) |
3742 | { | 3737 | { |
3743 | retval = LLPrimitive::setTEColor(te, color); | 3738 | retval = LLPrimitive::setTEColor(te, color); |
3744 | //setChanged(TEXTURE); | ||
3745 | if (mDrawable.notNull() && retval) | 3739 | if (mDrawable.notNull() && retval) |
3746 | { | 3740 | { |
3747 | // These should only happen on updates which are not the initial update. | 3741 | // These should only happen on updates which are not the initial update. |
@@ -3980,7 +3974,7 @@ LLViewerImage *LLViewerObject::getTEImage(const U8 face) const | |||
3980 | } | 3974 | } |
3981 | } | 3975 | } |
3982 | 3976 | ||
3983 | llwarns << llformat("Requested Image from invalid face: %d/%d",face,getNumTEs()) << llendl; | 3977 | llerrs << llformat("Requested Image from invalid face: %d/%d",face,getNumTEs()) << llendl; |
3984 | 3978 | ||
3985 | return NULL; | 3979 | return NULL; |
3986 | } | 3980 | } |
@@ -4166,11 +4160,6 @@ void LLViewerObject::updateText() | |||
4166 | } | 4160 | } |
4167 | } | 4161 | } |
4168 | 4162 | ||
4169 | LLVOAvatar* LLViewerObject::asAvatar() | ||
4170 | { | ||
4171 | return NULL; | ||
4172 | } | ||
4173 | |||
4174 | BOOL LLViewerObject::isParticleSource() const | 4163 | BOOL LLViewerObject::isParticleSource() const |
4175 | { | 4164 | { |
4176 | return !mPartSourcep.isNull() && !mPartSourcep->isDead(); | 4165 | return !mPartSourcep.isNull() && !mPartSourcep->isDead(); |
@@ -4385,14 +4374,7 @@ void LLViewerObject::setAttachedSound(const LLUUID &audio_uuid, const LLUUID& ow | |||
4385 | gAudiop->cleanupAudioSource(mAudioSourcep); | 4374 | gAudiop->cleanupAudioSource(mAudioSourcep); |
4386 | mAudioSourcep = NULL; | 4375 | mAudioSourcep = NULL; |
4387 | } | 4376 | } |
4388 | /* | 4377 | |
4389 | if (mAudioSourcep && mAudioSourcep->isMuted() && | ||
4390 | mAudioSourcep->getCurrentData() && mAudioSourcep->getCurrentData()->getID() == audio_uuid) | ||
4391 | { | ||
4392 | //llinfos << "Already having this sound as muted sound, ignoring" << llendl; | ||
4393 | return; | ||
4394 | } | ||
4395 | */ | ||
4396 | getAudioSource(owner_id); | 4378 | getAudioSource(owner_id); |
4397 | 4379 | ||
4398 | if (mAudioSourcep) | 4380 | if (mAudioSourcep) |
@@ -4486,11 +4468,7 @@ LLViewerObject::ExtraParameter* LLViewerObject::createNewParameterEntry(U16 para | |||
4486 | new_block = new LLSculptParams(); | 4468 | new_block = new LLSculptParams(); |
4487 | break; | 4469 | break; |
4488 | } | 4470 | } |
4489 | case LLNetworkData::PARAMS_LIGHT_IMAGE: | 4471 | |
4490 | { | ||
4491 | new_block = new LLLightImageParams(); | ||
4492 | break; | ||
4493 | } | ||
4494 | default: | 4472 | default: |
4495 | { | 4473 | { |
4496 | llinfos << "Unknown param type." << llendl; | 4474 | llinfos << "Unknown param type." << llendl; |
@@ -4581,7 +4559,7 @@ bool LLViewerObject::setParameterEntry(U16 param_type, const LLNetworkData& new_ | |||
4581 | bool LLViewerObject::setParameterEntryInUse(U16 param_type, BOOL in_use, bool local_origin) | 4559 | bool LLViewerObject::setParameterEntryInUse(U16 param_type, BOOL in_use, bool local_origin) |
4582 | { | 4560 | { |
4583 | ExtraParameter* param = getExtraParameterEntryCreate(param_type); | 4561 | ExtraParameter* param = getExtraParameterEntryCreate(param_type); |
4584 | if (param && param->in_use != in_use) | 4562 | if (param->in_use != in_use) |
4585 | { | 4563 | { |
4586 | param->in_use = in_use; | 4564 | param->in_use = in_use; |
4587 | parameterChanged(param_type, param->data, in_use, local_origin); | 4565 | parameterChanged(param_type, param->data, in_use, local_origin); |
@@ -4997,7 +4975,7 @@ U32 LLViewerObject::getPartitionType() const | |||
4997 | return LLViewerRegion::PARTITION_NONE; | 4975 | return LLViewerRegion::PARTITION_NONE; |
4998 | } | 4976 | } |
4999 | 4977 | ||
5000 | void LLViewerObject::dirtySpatialGroup(BOOL priority) const | 4978 | void LLViewerObject::dirtySpatialGroup() const |
5001 | { | 4979 | { |
5002 | if (mDrawable) | 4980 | if (mDrawable) |
5003 | { | 4981 | { |
@@ -5005,7 +4983,6 @@ void LLViewerObject::dirtySpatialGroup(BOOL priority) const | |||
5005 | if (group) | 4983 | if (group) |
5006 | { | 4984 | { |
5007 | group->dirtyGeom(); | 4985 | group->dirtyGeom(); |
5008 | gPipeline.markRebuild(group, priority); | ||
5009 | } | 4986 | } |
5010 | } | 4987 | } |
5011 | } | 4988 | } |