@react-three/csg
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -44,4 +44,3 @@ 'use strict'; | ||
geometry.groups = []; | ||
geometry.boundingBox = null; | ||
geometry.boundingSphere = null; | ||
geometry.index = geometry.boundingBox = geometry.boundingSphere = null; | ||
geometry.drawRange = { | ||
@@ -85,3 +84,3 @@ start: 0, | ||
if (ops.length > 1) { | ||
if (ops.length > 0) { | ||
// Dispose old geometry | ||
@@ -101,2 +100,3 @@ dispose(geo.current); // Set the ops groups matrix to identiy | ||
geo.current.index = root.geometry.index; | ||
geo.current.attributes = root.geometry.attributes; | ||
@@ -103,0 +103,0 @@ geo.current.groups = root.geometry.groups; |
@@ -17,4 +17,3 @@ import _extends from '@babel/runtime/helpers/esm/extends'; | ||
geometry.groups = []; | ||
geometry.boundingBox = null; | ||
geometry.boundingSphere = null; | ||
geometry.index = geometry.boundingBox = geometry.boundingSphere = null; | ||
geometry.drawRange = { | ||
@@ -58,3 +57,3 @@ start: 0, | ||
if (ops.length > 1) { | ||
if (ops.length > 0) { | ||
// Dispose old geometry | ||
@@ -74,2 +73,3 @@ dispose(geo.current); // Set the ops groups matrix to identiy | ||
geo.current.index = root.geometry.index; | ||
geo.current.attributes = root.geometry.attributes; | ||
@@ -76,0 +76,0 @@ geo.current.groups = root.geometry.groups; |
{ | ||
"name": "@react-three/csg", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Constructive solid geometry for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
Sorry, the diff of this file is not supported yet
46415