* Added ViewPort.clearProcessors() to remove all processors from a viewport
* Make JmeSystem error message regarding delegate more readable (split to another line) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
f5f3a85042
commit
6f5d4ef943
@ -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.
|
||||
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user