@react-three/fiber 7.0.22 → 7.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1322,8 +1322,6 @@ const createStore = (applyProps, invalidate, advance, props) => {
|
|
|
1322
1322
|
// https://github.com/pmndrs/react-three-fiber/issues/92
|
|
1323
1323
|
// Do not mess with the camera if it belongs to the user
|
|
1324
1324
|
if (!camera.manual && !(internal.lastProps.camera instanceof THREE__namespace.Camera)) {
|
|
1325
|
-
console.log('update camera');
|
|
1326
|
-
|
|
1327
1325
|
if (isOrthographicCamera(camera)) {
|
|
1328
1326
|
camera.left = size.width / -2;
|
|
1329
1327
|
camera.right = size.width / 2;
|
|
@@ -1322,8 +1322,6 @@ const createStore = (applyProps, invalidate, advance, props) => {
|
|
|
1322
1322
|
// https://github.com/pmndrs/react-three-fiber/issues/92
|
|
1323
1323
|
// Do not mess with the camera if it belongs to the user
|
|
1324
1324
|
if (!camera.manual && !(internal.lastProps.camera instanceof THREE__namespace.Camera)) {
|
|
1325
|
-
console.log('update camera');
|
|
1326
|
-
|
|
1327
1325
|
if (isOrthographicCamera(camera)) {
|
|
1328
1326
|
camera.left = size.width / -2;
|
|
1329
1327
|
camera.right = size.width / 2;
|
|
@@ -1289,8 +1289,6 @@ const createStore = (applyProps, invalidate, advance, props) => {
|
|
|
1289
1289
|
// https://github.com/pmndrs/react-three-fiber/issues/92
|
|
1290
1290
|
// Do not mess with the camera if it belongs to the user
|
|
1291
1291
|
if (!camera.manual && !(internal.lastProps.camera instanceof THREE.Camera)) {
|
|
1292
|
-
console.log('update camera');
|
|
1293
|
-
|
|
1294
1292
|
if (isOrthographicCamera(camera)) {
|
|
1295
1293
|
camera.left = size.width / -2;
|
|
1296
1294
|
camera.right = size.width / 2;
|