Browse Source

Fix conflict with method name

TothBenoit 1 year ago
parent
commit
c7f91606dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      h3d/scene/pbr/Renderer.hx

+ 2 - 2
h3d/scene/pbr/Renderer.hx

@@ -305,13 +305,13 @@ class Renderer extends h3d.scene.Renderer {
 
 		beforeIndirect();
 		mark("Indirect Lighting");
-		indirectLighting();
+		doIndirectLighting();
 		afterIndirect();
 
 		end();
 	}
 
-	function indirectLighting() {
+	function doIndirectLighting() {
 		if( !renderLightProbes() && indirectEnv && env != null && env.power > 0.0 ) {
 			pbrProps.isScreen = true;
 			pbrIndirect.drawIndirectDiffuse = true;