- change spatial warning on update state to include hint to threading problems

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-10-20 12:44:11 +00:00
parent 444223b905
commit b6492e958e

View File

@ -239,8 +239,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Asset {
public boolean checkCulling(Camera cam) {
if (refreshFlags != 0) {
throw new IllegalStateException("Scene graph is not properly updated for rendering.\n"
+ "Make sure scene graph state was not changed after\n"
+ " rootNode.updateGeometricState() call. \n"
+ "State was changed after rootNode.updateGeometricState() call. \n"
+ "Make sure you do not modify the scene from another thread!\n"
+ "Problem spatial name: " + getName());
}