Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/subsurf_ccg.c
| Show First 20 Lines • Show All 2,355 Lines • ▼ Show 20 Lines | else if (ob->type == OB_MESH) { | ||||
| ob->sculpt->pbvh = ccgdm->pbvh = BKE_pbvh_new(); | ob->sculpt->pbvh = ccgdm->pbvh = BKE_pbvh_new(); | ||||
| BKE_pbvh_build_mesh(ccgdm->pbvh, | BKE_pbvh_build_mesh(ccgdm->pbvh, | ||||
| me->mpoly, | me->mpoly, | ||||
| me->mloop, | me->mloop, | ||||
| me->mvert, | me->mvert, | ||||
| me->totvert, | me->totvert, | ||||
| &me->vdata, | &me->vdata, | ||||
| &me->ldata, | |||||
| looptri, | looptri, | ||||
| looptris_num); | looptris_num); | ||||
| if (ob->sculpt->modifiers_active && ob->derivedDeform != NULL) { | if (ob->sculpt->modifiers_active && ob->derivedDeform != NULL) { | ||||
| DerivedMesh *deformdm = ob->derivedDeform; | DerivedMesh *deformdm = ob->derivedDeform; | ||||
| float(*vertCos)[3]; | float(*vertCos)[3]; | ||||
| int totvert; | int totvert; | ||||
| ▲ Show 20 Lines • Show All 766 Lines • Show Last 20 Lines | |||||