Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/mesh_runtime.c
| Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | if (edit_data == NULL) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| MEM_SAFE_FREE(edit_data->polyCos); | MEM_SAFE_FREE(edit_data->polyCos); | ||||
| MEM_SAFE_FREE(edit_data->polyNos); | MEM_SAFE_FREE(edit_data->polyNos); | ||||
| MEM_SAFE_FREE(edit_data->vertexCos); | MEM_SAFE_FREE(edit_data->vertexCos); | ||||
| MEM_SAFE_FREE(edit_data->vertexNos); | MEM_SAFE_FREE(edit_data->vertexNos); | ||||
| /* --- */ | |||||
| MEM_SAFE_FREE(edit_data->eval.bb_cage); | |||||
| return true; | return true; | ||||
| } | } | ||||
| bool BKE_mesh_runtime_clear_edit_data(Mesh *mesh) | bool BKE_mesh_runtime_clear_edit_data(Mesh *mesh) | ||||
| { | { | ||||
| if (mesh->runtime.edit_data == NULL) { | if (mesh->runtime.edit_data == NULL) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines | |||||