Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object.c
| Context not available. | |||||
| #include "BKE_material.h" | #include "BKE_material.h" | ||||
| #include "BKE_camera.h" | #include "BKE_camera.h" | ||||
| #include "BKE_image.h" | #include "BKE_image.h" | ||||
| #include "BKE_lattice.h" | |||||
| #ifdef WITH_MOD_FLUID | #ifdef WITH_MOD_FLUID | ||||
| #include "LBM_fluidsim.h" | #include "LBM_fluidsim.h" | ||||
| Context not available. | |||||
| else if (ob->type == OB_MBALL) { | else if (ob->type == OB_MBALL) { | ||||
| bb = ob->bb; | bb = ob->bb; | ||||
| } | } | ||||
| else if (ob->type == OB_LATTICE) { | |||||
| bb = BKE_lattice_boundbox_get(ob); | |||||
| } | |||||
| else if (ob->type == OB_ARMATURE) { | |||||
| bb = BKE_armature_boundbox_get(ob); | |||||
| } | |||||
| return bb; | return bb; | ||||
| } | } | ||||
| Context not available. | |||||