ObColor wasnt converted into an RNA string.
Updated Mathutils.Vector/Euler/Quaternion/Matrix so these are types rather then module methods, each type now has a tp_new function, matching python builtins float/int/str. Also cleaned up float conversion and arg passing. Changed buttons_objects.py... if ob in groups.objects: # no longer works if ob.name in groups.objects: # is the new syntax ...its more dict like and a lot faster (avoids python iterating over each item and comparing each, use a single rna lookup instead).
This commit is contained in:
@@ -54,13 +54,6 @@ be stored in py_data) or be a wrapper for data allocated through
|
||||
blender (stored in blend_data). This is an either/or struct not both*/
|
||||
|
||||
//prototypes
|
||||
PyObject *Euler_Zero( EulerObject * self );
|
||||
PyObject *Euler_Unique( EulerObject * self );
|
||||
PyObject *Euler_ToMatrix( EulerObject * self );
|
||||
PyObject *Euler_ToQuat( EulerObject * self );
|
||||
PyObject *Euler_Rotate( EulerObject * self, PyObject *args );
|
||||
PyObject *Euler_MakeCompatible( EulerObject * self, EulerObject *value );
|
||||
PyObject *Euler_copy( EulerObject * self, PyObject *args );
|
||||
PyObject *newEulerObject( float *eul, int type );
|
||||
|
||||
#endif /* EXPP_euler_h */
|
||||
|
||||
Reference in New Issue
Block a user