|
@@ -6258,7 +6258,7 @@ class Object3D extends EventDispatcher {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (this.environment && this.environment.isTexture) {
|
|
|
|
|
|
+ if (this.environment && this.environment.isTexture && this.environment.isRenderTargetTexture !== true) {
|
|
object.environment = this.environment.toJSON(meta).uuid;
|
|
object.environment = this.environment.toJSON(meta).uuid;
|
|
}
|
|
}
|
|
} else if (this.isMesh || this.isLine || this.isPoints) {
|
|
} else if (this.isMesh || this.isLine || this.isPoints) {
|