@needle-tools/three 0.169.16 → 0.169.17
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/build/three.cjs +3 -2
- package/build/three.module.js +3 -2
- package/build/three.module.min.js +1 -1
- package/build/three.webgpu.js +1 -1
- package/build/three.webgpu.min.js +1 -1
- package/build/three.webgpu.nodes.js +1 -1
- package/build/three.webgpu.nodes.min.js +1 -1
- package/package.json +2 -1
- package/src/constants.js +1 -1
- package/src/renderers/WebGLRenderer.js +2 -1
package/build/three.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
9
|
-
const REVISION = '169';
|
|
9
|
+
const REVISION = '169.17';
|
|
10
10
|
|
|
11
11
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
12
12
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
@@ -30744,11 +30744,12 @@ class WebGLRenderer {
|
|
|
30744
30744
|
|
|
30745
30745
|
}
|
|
30746
30746
|
|
|
30747
|
-
if ( material.id !== _currentMaterialId ) {
|
|
30747
|
+
if ( material.id !== _currentMaterialId || material._forceRefresh ) {
|
|
30748
30748
|
|
|
30749
30749
|
_currentMaterialId = material.id;
|
|
30750
30750
|
|
|
30751
30751
|
refreshMaterial = true;
|
|
30752
|
+
material._forceRefresh = false;
|
|
30752
30753
|
|
|
30753
30754
|
}
|
|
30754
30755
|
|
package/build/three.module.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2010-2024 Three.js Authors
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
|
5
5
|
*/
|
|
6
|
-
const REVISION = '169';
|
|
6
|
+
const REVISION = '169.17';
|
|
7
7
|
|
|
8
8
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
9
9
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
@@ -30741,11 +30741,12 @@ class WebGLRenderer {
|
|
|
30741
30741
|
|
|
30742
30742
|
}
|
|
30743
30743
|
|
|
30744
|
-
if ( material.id !== _currentMaterialId ) {
|
|
30744
|
+
if ( material.id !== _currentMaterialId || material._forceRefresh ) {
|
|
30745
30745
|
|
|
30746
30746
|
_currentMaterialId = material.id;
|
|
30747
30747
|
|
|
30748
30748
|
refreshMaterial = true;
|
|
30749
|
+
material._forceRefresh = false;
|
|
30749
30750
|
|
|
30750
30751
|
}
|
|
30751
30752
|
|