Blender Git Loki

Git Commits -> Revision 16c75cf

Revision 16c75cf by Mitchell Stokes (master)
February 17, 2014, 22:38 (GMT)
Fix T38654: Using a non-camera object for the SetCamera Scene Actuator causes a segfault.

Non-camera objects are not supported as cameras, and trying to use them
just causes memory errors (some bad typecasts are involved). When converting
a Scene Actuator, only use the object as a camera if it is actually a camera.
Also, the logic brick UI now filters for camera objects, which should help
avoid confusion.

Commit Details:

Full Hash: 16c75cf594a92b232e46f922d644ac0a70088bad
Parent Commit: 3d7e0aa
Lines Changed: +5, -3

2 Modified Paths:

/source/blender/makesrna/intern/rna_actuator.c (+2, -2) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021