2
0
sunag 6 жил өмнө
parent
commit
1263eb3431

+ 3 - 3
examples/jsm/nodes/accessors/NormalNode.js

@@ -20,11 +20,11 @@ NormalNode.prototype = Object.create( TempNode.prototype );
 NormalNode.prototype.constructor = NormalNode;
 NormalNode.prototype.nodeType = "Normal";
 
-NormalNode.prototype.getUnique = function () {
+NormalNode.prototype.getShared = function () {
 
-	// if unique is true, TempNode will not create temp variable (for optimization)
+	// if shared is false, TempNode will not create temp variable (for optimization)
 
-	return this.scope === NormalNode.LOCAL;
+	return this.scope === NormalNode.WORLD;
 
 };