Blender Git Commit Log

Git Commits -> Revision a2f9a0c

Revision a2f9a0c by Porteries Tristan (master)
April 18, 2015, 19:37 (GMT)
BGE: Fix T43536 logic.getCurrentScene() returning wrong scene in
pre_draw and post_draw calls

A simple insert of KX_SetActiveScene(scene) before pre_draw and
post_draw calls solves the issue.

Reviewers: dfelinto, sybren, brita_, campbellbarton, moguri, lordloki

Reviewed By: moguri, lordloki

Projects: #game_logic, #game_engine

Differential Revision: https://developer.blender.org/D1129

Commit Details:

Full Hash: a2f9a0cfd940049f22cb89a8812629948a3580ae
Parent Commit: 252b0cf
Committed By: Jorge Bernal
Lines Changed: +11, -0

1 Modified Path:

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