Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/cdderivedmesh.c
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | |||||
| static int cdDM_getNumEdges(DerivedMesh *dm) | static int cdDM_getNumEdges(DerivedMesh *dm) | ||||
| { | { | ||||
| return dm->numEdgeData; | return dm->numEdgeData; | ||||
| } | } | ||||
| static int cdDM_getNumTessFaces(DerivedMesh *dm) | static int cdDM_getNumTessFaces(DerivedMesh *dm) | ||||
| { | { | ||||
| /* uncomment and add a breakpoint on the printf() | /* uncomment and add a breakpoint on the CLOG_STR_WARN() | ||||
| * to help debug tessfaces issues since BMESH merge. */ | * to help debug tessfaces issues since BMESH merge. */ | ||||
| #if 0 | #if 0 | ||||
| if (dm->numTessFaceData == 0 && dm->numPolyData != 0) { | if (dm->numTessFaceData == 0 && dm->numPolyData != 0) { | ||||
| printf("%s: has no faces!\n"); | CLOG_STR_WARN(&LOG, "mesh has no faces!"); | ||||
| } | } | ||||
| #endif | #endif | ||||
| return dm->numTessFaceData; | return dm->numTessFaceData; | ||||
| } | } | ||||
| static int cdDM_getNumLoops(DerivedMesh *dm) | static int cdDM_getNumLoops(DerivedMesh *dm) | ||||
| { | { | ||||
| return dm->numLoopData; | return dm->numLoopData; | ||||
| ▲ Show 20 Lines • Show All 1,293 Lines • Show Last 20 Lines | |||||