diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 7d5bb189192..c7a72c51954 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -3089,6 +3089,7 @@ PyObject *Object_CreatePyObject( struct Object * obj ) return ( NULL ); } blen_object->object = obj; + blen_object->realtype = OB_EMPTY; obj->id.us++; return ( ( PyObject * ) blen_object ); }