Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-09-17 06:31:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-09-17 06:31:16 +0400
commite472a3d8521f5c9b90498dcff8784ddeb678bae0 (patch)
treeb96eb16b5e67d3a94860c94e5dd60ffd244fa08f /source/blender/python/api2_2x/gen_utils.h
parenteaad4e4129ed3f2b8d1c518da20a0996c1e60fbb (diff)
renamed Blender.Image.SetCurrent(img) to img.makeCurrent() to be consistant with scene.
applied patch #4998 (array count), as well as adding other array settings, updated documentation as well. added EXPP_setVec3Clamped() as a way to set a vector from getset attrs (used with array offset and scale)
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r--source/blender/python/api2_2x/gen_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h
index f9336282eef..2c75c074c06 100644
--- a/source/blender/python/api2_2x/gen_utils.h
+++ b/source/blender/python/api2_2x/gen_utils.h
@@ -114,6 +114,8 @@ int EXPP_setIValueClamped( PyObject *value, void *param,
int min, int max, char type );
int EXPP_setFloatClamped ( PyObject *value, float *param,
float min, float max);
+int EXPP_setVec3Clamped ( PyObject *value, float *param[3],
+ float min, float max);
int EXPP_setIValueRange( PyObject *value, void *param,
int min, int max, char type );
int EXPP_setFloatRange ( PyObject *value, float *param,