paint: cleanup

This commit is contained in:
luboslenco
2026-03-09 23:02:08 +01:00
parent e554a2376c
commit 66ff3793d4
48 changed files with 2394 additions and 2674 deletions
+9 -9
View File
@@ -65,17 +65,11 @@ void args_parse() {
}
}
void args_run() {
if (args_use) {
sys_notify_on_next_frame(&args_run_115314, NULL);
}
}
void args_run_115626(void *_) {
void args_run_export_queue(void *_) {
export_texture_run(args_export_textures_path, false);
}
void args_run_115314(void *_) {
void args_run_on_next_frame(void *_) {
if (!string_equals(project_filepath, "")) {
import_arm_run_project(project_filepath);
}
@@ -138,7 +132,7 @@ void args_run_115314(void *_) {
data_delete_blob(string_join("export_presets/", file));
// Export queue
sys_notify_on_next_frame(&args_run_115626, NULL);
sys_notify_on_next_frame(&args_run_export_queue, NULL);
}
else if (args_export_mesh) {
if (!path_is_folder(args_export_mesh_path)) {
@@ -160,3 +154,9 @@ void args_run_115314(void *_) {
iron_stop();
}
}
void args_run() {
if (args_use) {
sys_notify_on_next_frame(&args_run_on_next_frame, NULL);
}
}