Andrew V Butt Sr %!s(int64=5) %!d(string=hai) anos
pai
achega
2f51d5ab26
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      src/Debug/skeletonViewer.ts

+ 4 - 5
src/Debug/skeletonViewer.ts

@@ -401,8 +401,8 @@ export class SkeletonViewer {
 
         const initialMeshBoneIndices = mesh.getVerticesData(VertexBuffer.MatricesIndicesKind);
         const initialMeshBoneWeights = mesh.getVerticesData(VertexBuffer.MatricesWeightsKind);
-        this._boneIndices = new Set();        
-        
+        this._boneIndices = new Set();
+
         if (!options.useAllBones) {
             if (initialMeshBoneIndices && initialMeshBoneWeights) {
                 for (let i = 0; i < initialMeshBoneIndices.length; ++i) {
@@ -412,7 +412,7 @@ export class SkeletonViewer {
                     }
                 }
             }
-        }       
+        }
 
         /* Create Utility Layer */
         this._utilityLayer = new UtilityLayerRenderer(this._scene, false);
@@ -516,7 +516,6 @@ export class SkeletonViewer {
             var bone = bones[i];
             var points = this._debugLines[idx];
 
-            
             if (bone._index === -1 || (!this._boneIndices.has(bone.getIndex()) && !this.options.useAllBones)) {
                 continue;
             }
@@ -619,7 +618,7 @@ export class SkeletonViewer {
 
             for (let i = 0; i < bones.length; i++) {
                 let bone = bones[i];
-      
+
                 if (bone._index === -1 || (!this._boneIndices.has(bone.getIndex()) && !this.options.useAllBones)) {
                     continue;
                 }