Blender Git Commit Log

Git Commits -> Revision b66a954

Revision b66a954 by Mitchell Stokes (master)
March 25, 2014, 00:57 (GMT)
Fix T38929: BGE: Strange behaving from addObject after trying to add an nonexisting overlay scene

If bge.logic.addScene() could not find the scene to add it would add the
first scene again, which is just silly. Now, if no scene is found, a warning
is printed and nothing is added.

Commit Details:

Full Hash: b66a9543bbcf86646b46af1da7ed0c4d035c7f98
Parent Commit: a2c002a
Lines Changed: +16, -8

2 Modified Paths:

/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+2, -3) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+14, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021