paint: custom layer res

This commit is contained in:
luboslenco
2026-06-04 20:45:16 +02:00
parent 4dd9bdd588
commit e0da7ca817
13 changed files with 65 additions and 104 deletions
+3 -18
View File
@@ -41,34 +41,19 @@ void box_export_tab_export_textures(char *title, bool bake_material) {
ui_row2();
#if defined(IRON_ANDROID) || defined(IRON_IOS)
string_array_t *base_res_combo = any_array_create_from_raw(
(void *[]){
"128",
"256",
"512",
"1024",
"2048",
"4096",
},
6);
#else
string_array_t *base_res_combo = any_array_create_from_raw(
(void *[]){
"128",
"256",
"512",
"1024",
"2048",
"4096",
"8192",
"16384",
tr("Custom"),
},
8);
#endif
5);
ui_combo(base_res_handle, base_res_combo, tr("Resolution"), true, UI_ALIGN_LEFT, true);
if (base_res_handle->changed) {
config_set_texture_res(base_res_handle->i);
layers_on_resized();
}