File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
jme3-core/src/main/java/com/jme3/shadow Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -438,9 +438,9 @@ public void postQueue(RenderQueue rq) {
438438 renderManager .setCamera (shadowCam , false );
439439
440440 if (debugfrustums ) {
441- getMainScene ().attachChild (createFrustum (points , i ));
441+ getSceneForDebug ().attachChild (createFrustum (points , i ));
442442 ShadowUtil .updateFrustumPoints2 (shadowCam , points );
443- getMainScene ().attachChild (createFrustum (points , i ));
443+ getSceneForDebug ().attachChild (createFrustum (points , i ));
444444 }
445445
446446 r .setFrameBuffer (shadowFB [i ]);
@@ -455,7 +455,7 @@ public void postQueue(RenderQueue rq) {
455455
456456 if (debugfrustums ) {
457457 debugfrustums = false ;
458- getMainScene ().updateGeometricState ();
458+ getSceneForDebug ().updateGeometricState ();
459459 }
460460
461461 //restore setting for future rendering
@@ -466,7 +466,7 @@ public void postQueue(RenderQueue rq) {
466466
467467 }
468468
469- protected Node getMainScene () {
469+ protected Node getSceneForDebug () {
470470 return (Node ) viewPort .getScenes ().get (0 );
471471 }
472472
You can’t perform that action at this time.
0 commit comments