~diresu/blender/blender-command-port

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_PyMath.cpp

  • Committer: Dietrich Bollmann
  • Date: 2009-04-26 06:25:14 UTC
  • mfrom: (184.1.520)
  • Revision ID: diresu@web.de-20090426062514-ly27wepl1t5d7p8s
Update to state of blender repository from 2009-04-26 revision 19927.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: KX_PyMath.cpp 19809 2009-04-20 09:13:59Z campbellbarton $
 
2
 * $Id: KX_PyMath.cpp 19922 2009-04-25 07:17:36Z campbellbarton $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
75
75
        return false;
76
76
}
77
77
 
78
 
bool PyOrientationTo(PyObject* pyval, MT_Matrix3x3 &mat, const char *error_prefix)
 
78
bool PyOrientationTo(PyObject* pyval, MT_Matrix3x3 &rot, const char *error_prefix)
79
79
{
80
 
        MT_Matrix3x3 rot;
81
80
        int size= PySequence_Size(pyval);
82
81
        
83
82
        if (size == 4)