|
@@ -1044,7 +1044,11 @@ bool ShapeBase::onAdd()
|
|
|
if(mDataBlock->cloakTexName != StringTable->insert(""))
|
|
|
mCloakTexture = TextureHandle(mDataBlock->cloakTexName, MeshTexture, false);
|
|
|
*/
|
|
|
-
|
|
|
+ // Accumulation and environment mapping
|
|
|
+ if (isClientObject() && mShapeInstance)
|
|
|
+ {
|
|
|
+ AccumulationVolume::addObject(this);
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
|