Przeglądaj źródła

ReflectorNode: No cache event if `bounces=false` (#30231)

sunag 1 rok temu
rodzic
commit
b1fd13b1df
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/nodes/utils/ReflectorNode.js

+ 1 - 1
src/nodes/utils/ReflectorNode.js

@@ -363,7 +363,7 @@ class ReflectorBaseNode extends Node {
 
 	updateBefore( frame ) {
 
-		if ( this.bounces === false && _inReflector ) return;
+		if ( this.bounces === false && _inReflector ) return false;
 
 		_inReflector = true;
 

粤ICP备19079148号