22 const bool apply_modifiers)
26 bool is_original_mesh_type =
true;
28 if (
GS(data_orig->name) !=
ID_ME) {
29 is_original_mesh_type =
false;
30 if (!apply_modifiers) {
36 if (apply_modifiers) {
General operations, lookup, etc. for blender objects.
ID and Library types, which are fundamental for SDNA.
Object is a sort of wrapper for general info.
const Mesh * mesh_coerce_for_export_setup(MeshCoerceForExport &coerce, Depsgraph *depsgraph, Object *obj_eval, const bool apply_modifiers)
const Mesh * BKE_object_get_pre_modified_mesh(const Object *object)
void BKE_id_free(Main *bmain, void *idv)
T * DEG_get_original(T *id)
ID_Type GS(const char *name)
Mesh * BKE_mesh_new_from_object(Depsgraph *depsgraph, Object *object, bool preserve_all_data_layers, bool preserve_origindex, bool ensure_subdivision)
Mesh * BKE_object_get_evaluated_mesh(const Object *object_eval)
bke::ObjectRuntime * runtime