diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-07-04 04:05:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-07-04 04:05:50 +0400 |
commit | 5c93e756823cda49466ce7e546268d551fb7de2f (patch) | |
tree | 0ff40ffed5e599b61d1ce86e2283b794286b1141 /projectfiles_vc7/blender/render | |
parent | 70c33ec526aad53df4f08329d7f514bbb7706724 (diff) |
non user visible changes and small optimizations to the game engine pyapi as well as fixing some bugs.
* 2 returning errors without exception set another return None instead of NULL.
* a missing check for parent relation
* BPY matrix length was incorrect in matrix.c, this change could break some scripts, however when a script expects a list of lists for a matrix, the len() function is incorrect and will give an error. This was the only thing stopping apricot game logic running in trunk.
Also added a function for GameObjects - getAxisVect(vec), multiplies the vector be the objects worldspace rotation matrix. Very useful if you want to know what the forward direction is for an object and dont want to use Blender.Mathutils which is tedious and not available in BlenderPlayer yet.
Diffstat (limited to 'projectfiles_vc7/blender/render')
0 files changed, 0 insertions, 0 deletions