Browse Source

Fix formatting to make sure mrdoob approves.

Arseny Kapoulkine 5 years ago
parent
commit
18593e6cc1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      examples/js/exporters/GLTFExporter.js
  2. 1 1
      examples/jsm/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -1339,7 +1339,7 @@ THREE.GLTFExporter.prototype = {
 						// Clones attribute not to override
 						var relativeAttribute = attribute.clone();
 
-						if ( !geometry.morphTargetsRelative ) {
+						if ( ! geometry.morphTargetsRelative ) {
 
 							for ( var j = 0, jl = attribute.count; j < jl; j ++ ) {
 

+ 1 - 1
examples/jsm/exporters/GLTFExporter.js

@@ -1363,7 +1363,7 @@ GLTFExporter.prototype = {
 						// Clones attribute not to override
 						var relativeAttribute = attribute.clone();
 
-						if ( !geometry.morphTargetsRelative ) {
+						if ( ! geometry.morphTargetsRelative ) {
 
 							for ( var j = 0, jl = attribute.count; j < jl; j ++ ) {