Bugfix for mysteriously disappearing left eyeball. Bounding boxes
used for clipping were being stored in the mesh, but modifiers can result in two objects with the same mesh having a different bounding box. Solution is to store bounding box in the object.
This commit is contained in:
@@ -1484,7 +1484,7 @@ static PyObject *Object_getBoundBox( BPy_Object * self )
|
||||
switch ( self->object->type ) {
|
||||
case OB_MESH:
|
||||
me = self->object->data;
|
||||
vec = (float*) mesh_get_bb(me)->vec;
|
||||
vec = (float*) mesh_get_bb(self->object)->vec;
|
||||
break;
|
||||
case OB_CURVE:
|
||||
case OB_FONT:
|
||||
|
||||
Reference in New Issue
Block a user