Blender Git Commit Log

Git Commits -> Revision e0aeafd

Revision e0aeafd by Porteries Tristan (master)
April 17, 2015, 16:12 (GMT)
BGE : Fix light layer check

The layers in Blender are using a bit field for the 20 layers. The light layer value was limited to 20, so the highest usable light layer was five.
The patch modify the range and add layer out of range error messages.

Reviewers: sybren, hg1, moguri

Reviewed By: hg1, moguri

Projects: #game_engine

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

Commit Details:

Full Hash: e0aeafdf0a22c18bf4970d7f9a34326bcebe491b
Parent Commit: 394c531
Committed By: Thomas Szepe
Lines Changed: +18, -12

2 Modified Paths:

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