mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 19:13:49 +01:00
fix removing hole
This commit is contained in:
parent
2c399a1f0b
commit
9701bf0aa0
2
src/d3/ShapesManager.js
vendored
2
src/d3/ShapesManager.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user