Changeset View
Changeset View
Standalone View
Standalone View
source/blender/collada/collada_utils.cpp
| Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Lines | |||||
| Mesh *bc_get_mesh_copy( | Mesh *bc_get_mesh_copy( | ||||
| BlenderContext &blender_context, | BlenderContext &blender_context, | ||||
| Object *ob, | Object *ob, | ||||
| BC_export_mesh_type export_mesh_type, | BC_export_mesh_type export_mesh_type, | ||||
| bool apply_modifiers, | bool apply_modifiers, | ||||
| bool triangulate) | bool triangulate) | ||||
| { | { | ||||
| CustomDataMask mask = CD_MASK_MESH; | CustomData_Masks mask = CD_MASK_MESH; | ||||
| Mesh *tmpmesh = NULL; | Mesh *tmpmesh = NULL; | ||||
| if (apply_modifiers) { | if (apply_modifiers) { | ||||
| #if 0 /* Not supported by new system currently... */ | #if 0 /* Not supported by new system currently... */ | ||||
| switch (export_mesh_type) { | switch (export_mesh_type) { | ||||
| case BC_MESH_TYPE_VIEW: | case BC_MESH_TYPE_VIEW: | ||||
| { | { | ||||
| dm = mesh_create_derived_view(depsgraph, scene, ob, mask); | dm = mesh_create_derived_view(depsgraph, scene, ob, mask); | ||||
| break; | break; | ||||
| ▲ Show 20 Lines • Show All 1,158 Lines • Show Last 20 Lines | |||||