소스 검색

spacing and tab fix

Quick fixes to the script formating.
Pryme8 6 년 전
부모
커밋
f952a84de1
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 8
      serializers/src/stl/stlSerializer.ts

+ 8 - 8
serializers/src/stl/stlSerializer.ts

@@ -46,12 +46,13 @@ export class STLExport {
                 data += '\tendloop\r\n';
                 data += 'endfacet\r\n';
             }			
-		}		
+		}	
+		
 		data += 'endsolid exportedMesh';
-		}else{			
-			//Adapted from https://gist.github.com/paulkaplan/6d5f0ab2c7e8fdc68a61
-			
-			//get faceCount
+		
+		}else{	
+		
+			//Adapted from https://gist.github.com/paulkaplan/6d5f0ab2c7e8fdc68a61			
 			let faceCount = 0;
 			for(let i=0; i<meshes.length; i++){
 				let mesh = meshes[i];
@@ -103,9 +104,8 @@ export class STLExport {
 					offset = writeVector(data, offset, v[1], isLittleEndian);
 					offset = writeVector(data, offset, v[2], isLittleEndian);
 					offset += 2;
-				}		
-			}			
-		
+				}	
+			}		
 		}	
 
         if (download) {