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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-08-16 10:19:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-08-16 10:19:08 +0400
commitb92837c7c36d1f8d890c66e3693ea1c24efd8c9c (patch)
tree5ba3c44e6a51706668d7b2b30eb9a105de45df91 /source
parent1f68dfb499f93960c0a188d2b205a81cd3e6a999 (diff)
Object.c - Fixed dupli variable flags
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/Object.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c
index 4c2d91fe253..bedbdf3da08 100644
--- a/source/blender/python/api2_2x/Object.c
+++ b/source/blender/python/api2_2x/Object.c
@@ -4050,7 +4050,7 @@ static int Object_setDrawModeBits( BPy_Object *self, PyObject *value,
static PyObject *Object_getTransflagBits( BPy_Object *self, void *type )
{
return EXPP_getBitfield( (void *)&self->object->transflag,
- (int)type, 'b' );
+ (int)type, 'h' );
}
static int Object_setTransflagBits( BPy_Object *self, PyObject *value,
@@ -4058,7 +4058,7 @@ static int Object_setTransflagBits( BPy_Object *self, PyObject *value,
{
self->object->recalc |= OB_RECALC_OB;
return EXPP_setBitfield( value, (void *)&self->object->transflag,
- (int)type, 'b' );
+ (int)type, 'h' );
}
static PyObject *Object_getLayers( BPy_Object * self )
@@ -4911,15 +4911,15 @@ static PyGetSetDef BPy_Object_getseters[] = {
"Make copy of object for every frame",
(void *)OB_DUPLIFRAMES},
{"enableDupGroup",
- (getter)Object_getDrawModeBits, (setter)Object_setDrawModeBits,
+ (getter)Object_getTransflagBits, (setter)Object_setTransflagBits,
"Enable group instancing",
(void *)OB_DUPLIGROUP},
{"enableDupRot",
- (getter)Object_getDrawModeBits, (setter)Object_setDrawModeBits,
+ (getter)Object_getTransflagBits, (setter)Object_setTransflagBits,
"Rotate dupli according to vertex normal",
(void *)OB_DUPLIROT},
{"enableDupNoSpeed",
- (getter)Object_getDrawModeBits, (setter)Object_setDrawModeBits,
+ (getter)Object_getTransflagBits, (setter)Object_setTransflagBits,
"Set dupliframes to still, regardless of frame",
(void *)OB_DUPLINOSPEED},
{"DupObjects",