diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-20 06:44:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-20 06:44:57 +0400 |
commit | 7785ead4eb64f9702d7a59060e73b3e121e674a7 (patch) | |
tree | 0ea55feb030d8eff70bfe9758f3c4aafe1e7daf8 /source/blender/python/generic/euler.h | |
parent | d0e8acaf2902235afd0b3fbd2e408c1cf04689be (diff) |
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).
Diffstat (limited to 'source/blender/python/generic/euler.h')
-rw-r--r-- | source/blender/python/generic/euler.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/python/generic/euler.h b/source/blender/python/generic/euler.h index 773b024f174..3206668ffa0 100644 --- a/source/blender/python/generic/euler.h +++ b/source/blender/python/generic/euler.h @@ -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 */ |