|
@@ -26080,7 +26080,7 @@ var BABYLON;
|
|
return this._indexBuffer;
|
|
return this._indexBuffer;
|
|
};
|
|
};
|
|
Geometry.prototype._releaseVertexArrayObject = function (effect) {
|
|
Geometry.prototype._releaseVertexArrayObject = function (effect) {
|
|
- if (!effect) {
|
|
|
|
|
|
+ if (!effect || !this._vertexArrayObjects) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (this._vertexArrayObjects[effect.key]) {
|
|
if (this._vertexArrayObjects[effect.key]) {
|