Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/drawobject.c
| Context not available. | |||||
| else if (ob->type == OB_ARMATURE) { | else if (ob->type == OB_ARMATURE) { | ||||
| bb = BKE_armature_boundbox_get(ob); | bb = BKE_armature_boundbox_get(ob); | ||||
| } | } | ||||
| else if (ob->type == OB_LATTICE) { | |||||
| bb = BKE_lattice_boundbox_get(ob); | |||||
| } | |||||
| else { | else { | ||||
| const float min[3] = {-1.0f, -1.0f, -1.0f}, max[3] = {1.0f, 1.0f, 1.0f}; | const float min[3] = {-1.0f, -1.0f, -1.0f}, max[3] = {1.0f, 1.0f, 1.0f}; | ||||
| bb = &bb_local; | bb = &bb_local; | ||||
| Context not available. | |||||