|
@@ -23,9 +23,6 @@ export class InstancedMesh extends AbstractMesh {
|
|
|
private _currentLOD: Mesh;
|
|
|
|
|
|
/** @hidden */
|
|
|
- public _actAsRegularMesh = false;
|
|
|
-
|
|
|
- /** @hidden */
|
|
|
public _indexInSourceMeshInstanceArray = -1;
|
|
|
|
|
|
constructor(name: string, source: Mesh) {
|
|
@@ -291,10 +288,10 @@ export class InstancedMesh extends AbstractMesh {
|
|
|
if (this._currentLOD) {
|
|
|
|
|
|
if (this._currentLOD._getWorldMatrixDeterminant() !== this._getWorldMatrixDeterminant()) {
|
|
|
- this._actAsRegularMesh = true;
|
|
|
+ this._internalAbstractMeshDataInfo._actAsRegularMesh = true;
|
|
|
return true;
|
|
|
}
|
|
|
- this._actAsRegularMesh = false;
|
|
|
+ this._internalAbstractMeshDataInfo._actAsRegularMesh = false;
|
|
|
|
|
|
this._currentLOD._registerInstanceForRenderId(this, renderId);
|
|
|
|