diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-16 04:19:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-16 04:19:37 +0300 |
commit | 7e0f9229d6e9133338c6e5170699722989b1b8d5 (patch) | |
tree | c044d667873ccc84844bce189f00c4653d8d965f /source/gameengine/Ketsji/KX_PolygonMaterial.cpp | |
parent | 7a7b4aff40e1f25cffe92abbc73637e995cf4ef3 (diff) |
fix for fix, r33086.
- incorrect range check broke ZYX euler rotations, use MIN/MAX constants so this doesn't happen again.
- BGE Armature PyAPI also wasn't using correct min/max with rotation modes.
- clamp on file read rather then when calling the rotation functions, so developers don't use invalid args without realizing it.
- added assert() checks for debug builds so invalid axis constants don't slip through.
Diffstat (limited to 'source/gameengine/Ketsji/KX_PolygonMaterial.cpp')
0 files changed, 0 insertions, 0 deletions