From b7ff45f9147016629dfd032b9815daf7a10aadae Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Feb 2006 06:00:00 +0000 Subject: [PATCH] new emptys now have default settings for new emptys. --- source/blender/python/api2_2x/Object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index a6e206022c2..1f273380428 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -733,7 +733,9 @@ PyObject *M_Object_New( PyObject * self, PyObject * args ) Mat4One( object->parentinv ); Mat4One( object->obmat ); object->dt = OB_SHADED; // drawtype - + object->empty_drawsize= 1.0; + object->empty_drawtype= OB_ARROWS; + if( U.flag & USER_MAT_ON_OB ) { object->colbits = -1; }