diff --git a/engine/src/core/com/jme3/renderer/ViewPort.java b/engine/src/core/com/jme3/renderer/ViewPort.java index cc09c97a0..a2667cf20 100644 --- a/engine/src/core/com/jme3/renderer/ViewPort.java +++ b/engine/src/core/com/jme3/renderer/ViewPort.java @@ -150,6 +150,19 @@ public class ViewPort { processors.remove(processor); processor.cleanup(); } + + /** + * Removes all {@link SceneProcessor scene processors} from this + * ViewPort. + * + * @see SceneProcessor + */ + public void clearProcessors() { + for (SceneProcessor proc : processors) { + proc.cleanup(); + } + processors.clear(); + } /** * Check if depth buffer clearing is enabled. diff --git a/engine/src/core/com/jme3/system/JmeSystem.java b/engine/src/core/com/jme3/system/JmeSystem.java index b50ff531d..359dd86e9 100644 --- a/engine/src/core/com/jme3/system/JmeSystem.java +++ b/engine/src/core/com/jme3/system/JmeSystem.java @@ -167,7 +167,7 @@ public class JmeSystem { if (systemDelegate == null) { // None of the system delegates were found .. Logger.getLogger(JmeSystem.class.getName()).log(Level.SEVERE, - "Failed to find a JmeSystem delegate!" + "Failed to find a JmeSystem delegate!\n" + "Ensure either desktop or android jME3 jar is in the classpath."); } }