Skip to content

Commit 0fab02b

Browse files
committed
Remove Matrix4 from GLTFExporter modularize ignore list
1 parent 0e2288c commit 0fab02b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/jsm/exporters/GLTFExporter.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
LinearMipmapLinearFilter,
1010
LinearMipmapNearestFilter,
1111
MathUtils,
12+
Matrix4,
1213
MirroredRepeatWrapping,
1314
NearestFilter,
1415
NearestMipmapLinearFilter,
@@ -178,7 +179,7 @@ GLTFExporter.prototype = {
178179
/**
179180
* Is identity matrix
180181
*
181-
* @param {THREE.Matrix4} matrix
182+
* @param {Matrix4} matrix
182183
* @returns {Boolean} Returns true, if parameter is identity matrix
183184
*/
184185
function isIdentityMatrix( matrix ) {
@@ -1716,7 +1717,7 @@ GLTFExporter.prototype = {
17161717

17171718
var joints = [];
17181719
var inverseBindMatrices = new Float32Array( skeleton.bones.length * 16 );
1719-
var temporaryBoneInverse = new THREE.Matrix4();
1720+
var temporaryBoneInverse = new Matrix4();
17201721

17211722
for ( var i = 0; i < skeleton.bones.length; ++ i ) {
17221723

utils/modularize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var files = [
3535

3636
{ path: 'exporters/ColladaExporter.js', dependencies: [], ignoreList: [] },
3737
{ path: 'exporters/DRACOExporter.js', dependencies: [], ignoreList: [ 'Geometry' ] },
38-
{ path: 'exporters/GLTFExporter.js', dependencies: [], ignoreList: [ 'AnimationClip', 'Camera', 'Geometry', 'Material', 'Mesh', 'Object3D', 'Scenes', 'ShaderMaterial', 'Matrix4' ] },
38+
{ path: 'exporters/GLTFExporter.js', dependencies: [], ignoreList: [ 'AnimationClip', 'Camera', 'Geometry', 'Material', 'Mesh', 'Object3D', 'Scenes', 'ShaderMaterial'] },
3939
{ path: 'exporters/MMDExporter.js', dependencies: [ { name: 'MMDParser', path: 'libs/mmdparser.module.js' } ], ignoreList: [] },
4040
{ path: 'exporters/OBJExporter.js', dependencies: [], ignoreList: [] },
4141
{ path: 'exporters/PLYExporter.js', dependencies: [], ignoreList: [] },

0 commit comments

Comments
 (0)