提交 56734d2c 编写于 作者: L Lewy Blue

formatting

上级 1ac12944
......@@ -328,8 +328,7 @@
fileName = imageMap.get( children[ 0 ].ID );
} else if ( relativeFilePath !== undefined && relativeFilePath[ 0 ] !== '/' &&
relativeFilePath.match( /^[a-zA-Z]:/ ) === null ) {
} else if ( relativeFilePath !== undefined && relativeFilePath[ 0 ] !== '/' && relativeFilePath.match( /^[a-zA-Z]:/ ) === null ) {
// use textureNode.properties.RelativeFilename
// if it exists and it doesn't seem an absolute path
......@@ -3894,7 +3893,7 @@
for ( var i = 0; i < this.vertices.length; ++ i ) {
this.vertices[ i ].copy( returnVar.vertices[ i ] );
this.vertices[ i ].copy( returnVar.vertices[ i ] );
}
......@@ -4037,7 +4036,7 @@
} );
function TextParser() { }
function TextParser() {}
Object.assign( TextParser.prototype, {
......@@ -4466,7 +4465,7 @@
// Binary format specification:
// https://code.blender.org/2013/08/fbx-binary-file-format-specification/
// https://wiki.rogiken.org/specifications/file-format/fbx/ (more detail but Japanese)
function BinaryParser() { }
function BinaryParser() {}
Object.assign( BinaryParser.prototype, {
......@@ -4664,8 +4663,7 @@
if ( innerPropName.indexOf( 'Lcl ' ) === 0 ) innerPropName = innerPropName.replace( 'Lcl ', 'Lcl_' );
if ( innerPropType1.indexOf( 'Lcl ' ) === 0 ) innerPropType1 = innerPropType1.replace( 'Lcl ', 'Lcl_' );
if ( innerPropType1 === 'ColorRGB' || innerPropType1 === 'Vector' ||
innerPropType1 === 'Vector3D' || innerPropType1.indexOf( 'Lcl_' ) === 0 ) {
if ( innerPropType1 === 'ColorRGB' || innerPropType1 === 'Vector' || innerPropType1 === 'Vector3D' || innerPropType1.indexOf( 'Lcl_' ) === 0 ) {
innerPropValue = [
node.propertyList[ 4 ],
......@@ -5224,7 +5222,7 @@
} );
function FBXTree() { }
function FBXTree() {}
Object.assign( FBXTree.prototype, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册