forked from bartvdbraak/blender
new emptys now have default settings for new emptys.
This commit is contained in:
parent
9e0d2837d5
commit
b7ff45f914
@ -733,7 +733,9 @@ PyObject *M_Object_New( PyObject * self, PyObject * args )
|
|||||||
Mat4One( object->parentinv );
|
Mat4One( object->parentinv );
|
||||||
Mat4One( object->obmat );
|
Mat4One( object->obmat );
|
||||||
object->dt = OB_SHADED; // drawtype
|
object->dt = OB_SHADED; // drawtype
|
||||||
|
object->empty_drawsize= 1.0;
|
||||||
|
object->empty_drawtype= OB_ARROWS;
|
||||||
|
|
||||||
if( U.flag & USER_MAT_ON_OB ) {
|
if( U.flag & USER_MAT_ON_OB ) {
|
||||||
object->colbits = -1;
|
object->colbits = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user