瀏覽代碼

Fix conflict with method name

TothBenoit 1 年之前
父節點
當前提交
c7f91606dc
共有 1 個文件被更改,包括 2 次插入2 次删除
  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();
 		beforeIndirect();
 		mark("Indirect Lighting");
 		mark("Indirect Lighting");
-		indirectLighting();
+		doIndirectLighting();
 		afterIndirect();
 		afterIndirect();
 
 
 		end();
 		end();
 	}
 	}
 
 
-	function indirectLighting() {
+	function doIndirectLighting() {
 		if( !renderLightProbes() && indirectEnv && env != null && env.power > 0.0 ) {
 		if( !renderLightProbes() && indirectEnv && env != null && env.power > 0.0 ) {
 			pbrProps.isScreen = true;
 			pbrProps.isScreen = true;
 			pbrIndirect.drawIndirectDiffuse = true;
 			pbrIndirect.drawIndirectDiffuse = true;