Blender Git Commit Log

Git Commits -> Revision fb49c5a

Revision fb49c5a by Benoit Bolsee (master)
August 23, 2014, 10:31 (GMT)
BGE: fix crash and return boolean on scene.replace()

Scene replacement with invalid scene name was crashing blender,
now it's a no-op.
KS_Scene.replace() to return a boolean to indicate if the scene
is valid and is scheduled for replacement. This allows more
robust game management.

Commit Details:

Full Hash: fb49c5aa5662da3c2434c75ea6283408c01d6c23
Parent Commit: a0600de
Lines Changed: +33, -12

4 Modified Paths:

/doc/python_api/rst/bge_types/bge.types.KX_Scene.rst (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+25, -8) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+5, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021