Mercurial > hg > Game > Cerium
changeset 851:621954669342 draft
createSceneGraph(): error message add.
author | tkaito |
---|---|
date | Sun, 06 Jun 2010 06:32:00 +0900 |
parents | 2bff5d9fcefd |
children | 0729db4d99fe |
files | Renderer/Engine/SceneGraphRoot.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc Sun Jun 06 03:37:00 2010 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Sun Jun 06 06:32:00 2010 +0900 @@ -195,7 +195,8 @@ SceneGraphPtr p; if (id < 0 || id > sg_src_size) { - return NULL; + printf("error: createSceneGraph(int id): id not found.\n"); + return NULL; } /* オリジナルの SceneGraph */ @@ -223,7 +224,8 @@ int id = getSgid(name); if (id < 0) { - return NULL; + printf("error: createSceneGraph(name): name object not found.\n"); + return NULL; } /* オリジナルの SceneGraph */