Blender Git Loki

Git Commits -> Revision 3925f58

Revision 3925f58 by Dalai Felinto (master)
March 26, 2010, 07:21 (GMT)
BGE: fix for [#21180] - missing min and max values in the API + mode fix (interval wasn't working)
of course it wasn't only a matter of adding the properties in the api :)

The code of validValueForIntervalProperty and modeChange are the same BUT in the future they shouldn't be, for I think it's fine to keep them as separated functions.

Bonus fix: Also we are now checking if the new mode is interval and update the range expression.

Commit Details:

Full Hash: 3925f58b6a9b0a2c49ce6d0e3534542a4975139b
SVN Revision: 27764
Parent Commit: ed035bc
Lines Changed: +43, -1

3 Modified Paths:

/source/gameengine/GameLogic/SCA_PropertySensor.cpp (+29, -1) (Diff)
/source/gameengine/GameLogic/SCA_PropertySensor.h (+10, -0) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021