2
0
sunag 5 жил өмнө
parent
commit
bac8995fdb

+ 8 - 8
examples/jsm/nodes/core/Node.js

@@ -101,25 +101,25 @@ Node.prototype = {
 	},
 
 	getHash: function() {
-		
+
 		var hash = '{';
-		
+
 		for(var prop in this) {
 
 			var obj = this[ prop ];
-			
+
 			if (obj instanceof Node) {
-				
+
 				hash += '"' + prop + '":' + obj.getHash() + ',';
-				
+
 			}
 
 		}
-		
+
 		hash += '"id":"' + this.uuid + '"}';
-		
+
 		return hash;		
-		
+
 	},
 
 	appendDepsNode: function ( builder, data, output ) {

+ 1 - 1
examples/jsm/nodes/materials/NodeMaterial.js

@@ -99,7 +99,7 @@ NodeMaterial.prototype.getHash = function () {
 	hash += '}'
 
 	return hash;
-	
+
 };
 
 NodeMaterial.prototype.updateFrame = function ( frame ) {