fix removing hole

This commit is contained in:
casperlamboo 2017-11-23 16:33:51 +01:00
parent 2c399a1f0b
commit 9701bf0aa0

View File

@ -48,7 +48,7 @@ export default class ShapesManager extends THREE.Object3D {
if (this._state) { if (this._state) {
for (const id in this._state.objectsById) { for (const id in this._state.objectsById) {
if (!state.objectsById[id]) { if (!state.objectsById[id]) {
if (this._state.objectsById[id].solid) holesChanged = true; if (!this._state.objectsById[id].solid) holesChanged = true;
this._handleShapeRemove(id); this._handleShapeRemove(id);
render = true; render = true;
} }