Files
armorpaint/paint/sources/export_mesh.c
T

15 lines
437 B
C
Raw Normal View History

2026-03-09 13:17:15 +01:00
#include "global.h"
2026-03-07 21:12:59 +01:00
void export_mesh_run(char *path, mesh_object_t_array_t *paint_objects, bool apply_disp, bool merge_vertices) {
if (paint_objects == NULL) {
2024-03-13 23:50:11 +01:00
paint_objects = project_paint_objects;
}
2026-03-06 12:56:38 +01:00
if (context_raw->export_mesh_format == MESH_FORMAT_OBJ) {
2025-10-15 18:39:55 +02:00
merge_vertices ? export_obj_run(path, paint_objects, apply_disp) : export_obj_run_fast(path, paint_objects);
2024-03-13 23:50:11 +01:00
}
else {
export_arm_run_mesh(path, paint_objects);
}
}