From b6492e958e1ee06cc3bd6819c8aac84d1a42c0a1 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Thu, 20 Oct 2011 12:44:11 +0000 Subject: [PATCH] - 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 --- engine/src/core/com/jme3/scene/Spatial.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/core/com/jme3/scene/Spatial.java b/engine/src/core/com/jme3/scene/Spatial.java index ce59cfdd9..ebf98883c 100644 --- a/engine/src/core/com/jme3/scene/Spatial.java +++ b/engine/src/core/com/jme3/scene/Spatial.java @@ -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()); }