Export textures shortcut
This commit is contained in:
@@ -87,6 +87,7 @@ class Config {
|
||||
raw.keymap.file_reload_assets = "ctrl+r";
|
||||
raw.keymap.file_import_assets = "ctrl+i";
|
||||
raw.keymap.file_export_textures = "ctrl+e";
|
||||
raw.keymap.file_export_textures_as = "ctrl+shift+e";
|
||||
raw.keymap.edit_undo = "ctrl+z";
|
||||
raw.keymap.edit_redo = "ctrl+shift+z";
|
||||
raw.keymap.edit_prefs = "ctrl+k";
|
||||
|
||||
@@ -70,7 +70,7 @@ class UIMenu {
|
||||
if (ui.button("Reload Assets", Left, Config.keymap.file_reload_assets)) Project.reloadAssets();
|
||||
if (ui.button("Import Assets...", Left, Config.keymap.file_import_assets)) Project.importAsset();
|
||||
ui.fill(0, 0, sepw, 1, ui.t.ACCENT_SELECT_COL);
|
||||
if (ui.button("Export Textures...", Left, Config.keymap.file_export_textures)) BoxExport.showTextures();
|
||||
if (ui.button("Export Textures...", Left, Config.keymap.file_export_textures_as)) BoxExport.showTextures();
|
||||
if (ui.button("Export Mesh...", Left)) BoxExport.showMesh();
|
||||
ui.fill(0, 0, sepw, 1, ui.t.ACCENT_SELECT_COL);
|
||||
if (ui.button("Exit", Left)) System.stop();
|
||||
|
||||
@@ -455,6 +455,7 @@ class UITrait {
|
||||
}
|
||||
else textureExport = true;
|
||||
}
|
||||
else if (Operator.shortcut(Config.keymap.file_export_textures_as)) BoxExport.showTextures();
|
||||
else if (Operator.shortcut(Config.keymap.file_import_assets)) Project.importAsset();
|
||||
else if (Operator.shortcut(Config.keymap.edit_prefs)) BoxPreferences.show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user