From caab42d8098967e636f7024333e6898a20304394 Mon Sep 17 00:00:00 2001 From: Julien Seinturier Date: Fri, 10 Feb 2017 12:50:12 +0100 Subject: [PATCH] Merging with Master branch --- .../com/jme3/shadow/DirectionalLightShadowRendererVR.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jme3-vr/src/main/java/com/jme3/shadow/DirectionalLightShadowRendererVR.java b/jme3-vr/src/main/java/com/jme3/shadow/DirectionalLightShadowRendererVR.java index 6836eb23f..941b97cc5 100644 --- a/jme3-vr/src/main/java/com/jme3/shadow/DirectionalLightShadowRendererVR.java +++ b/jme3-vr/src/main/java/com/jme3/shadow/DirectionalLightShadowRendererVR.java @@ -42,6 +42,7 @@ import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector2f; import com.jme3.math.Vector3f; +import com.jme3.profile.AppProfiler; import com.jme3.renderer.Camera; import com.jme3.renderer.queue.GeometryList; import com.jme3.renderer.queue.RenderQueue; @@ -76,6 +77,8 @@ public class DirectionalLightShadowRendererVR extends AbstractShadowRendererVR { //Holding the info for fading shadows in the far distance private boolean stabilize = true; + private AppProfiler profiler = null; + /** * Used for serialzation use * DirectionalLightShadowRenderer#DirectionalLightShadowRenderer(AssetManager @@ -301,4 +304,9 @@ public class DirectionalLightShadowRendererVR extends AbstractShadowRendererVR { protected boolean checkCulling(Camera viewCam) { return true; } + + @Override + public void setProfiler(AppProfiler profiler) { + this.profiler = profiler; + } }