Fix selection and snapping misusing texture space as boundbox
This fixes the regression from T70103 introduced by the fix for T70103.
This commit is contained in:
@@ -49,8 +49,7 @@ void select_id_object_min_max(Object *obj, float r_min[3], float r_max[3])
|
||||
BoundBox *bb;
|
||||
BMEditMesh *em = BKE_editmesh_from_object(obj);
|
||||
if (em) {
|
||||
/* Use Object Texture Space. */
|
||||
bb = BKE_mesh_texspace_get(em->mesh_eval_cage, NULL, NULL, NULL);
|
||||
bb = BKE_editmesh_cage_boundbox_get(em);
|
||||
}
|
||||
else {
|
||||
bb = BKE_object_boundbox_get(obj);
|
||||
|
||||
Reference in New Issue
Block a user