This commit is contained in:
bakedpotatolord 2025-04-29 09:07:56 -06:00
commit 0b8b279fd7

View file

@ -230,7 +230,7 @@ class Widget {
setModified() { setModified() {
this.modified = true; this.modified = true;
this.boundingBoxNeedsUpdate this.boundingBoxNeedsUpdate = true;
if (this.mesh && this.mesh.geometry) { if (this.mesh && this.mesh.geometry) {
// this fixes ray intersections after the mesh is modified // this fixes ray intersections after the mesh is modified
this.mesh.geometry.boundingSphere = null; this.mesh.geometry.boundingSphere = null;