From 7785ead4eb64f9702d7a59060e73b3e121e674a7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 20 Jun 2009 02:44:57 +0000 Subject: 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). --- source/blender/python/generic/euler.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/blender/python/generic/euler.h') 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 */ -- cgit v1.2.3