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:
authorJoseph Gilbert <ascotan@gmail.com>2005-03-19 06:24:00 +0300
committerJoseph Gilbert <ascotan@gmail.com>2005-03-19 06:24:00 +0300
commitcbbe236f9237cd7a942e250493b6c7402300deb7 (patch)
treeccdfdfe9d008dc0f5be4a5d1d649a60eaba40cb9 /source/blender/python/api2_2x/constant.h
parentf61c5b1eecea8140366f6258eebb244bdbd3b87c (diff)
- patch submitted by guitargeek
-includes: *Text3d accessors - ablity to manipulate FONT objects through python *update to Object.link - calls text_to_curve upon ob_font link for drawing *update to constant.h - constant type checking define *update to curve.c - clamp values on getters/setters *clean up of Text3d module
Diffstat (limited to 'source/blender/python/api2_2x/constant.h')
-rw-r--r--source/blender/python/api2_2x/constant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/constant.h b/source/blender/python/api2_2x/constant.h
index 4d28c4a85f6..450529822b0 100644
--- a/source/blender/python/api2_2x/constant.h
+++ b/source/blender/python/api2_2x/constant.h
@@ -38,6 +38,8 @@
#include "gen_utils.h"
+#define BPy_Constant_Check(v) ((v)->ob_type==&constant_Type)
+
/* Objects of <type 'constant'> are used inside many other Blender Python
* objects, so this header file must contain only 'public' declarations */