Reload linked assets stubs
This commit is contained in:
@@ -61,6 +61,7 @@ class Config {
|
||||
raw.keymap.file_open = "ctrl+o";
|
||||
raw.keymap.file_save = "ctrl+s";
|
||||
raw.keymap.file_save_as = "ctrl+shift+s";
|
||||
raw.keymap.file_reload_assets = "ctrl+r";
|
||||
raw.keymap.edit_undo = "ctrl+z";
|
||||
raw.keymap.edit_redo = "ctrl+shift+z";
|
||||
raw.keymap.view_reset = "0";
|
||||
|
||||
@@ -211,6 +211,10 @@ class Project {
|
||||
Scene.active.world.probe.raw.strength = 4.0;
|
||||
});
|
||||
}
|
||||
|
||||
public static function reloadAssets() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
typedef TProjectFormat = {
|
||||
|
||||
@@ -66,6 +66,7 @@ class UIMenu {
|
||||
if (ui.button("Open...", Left, 'Ctrl+O')) Project.projectOpen();
|
||||
if (ui.button("Save", Left, 'Ctrl+S')) Project.projectSave();
|
||||
if (ui.button("Save As...", Left, 'Ctrl+Shift+S')) Project.projectSaveAs();
|
||||
if (ui.button("Reload Assets", Left, 'Ctrl+R')) Project.reloadAssets();
|
||||
// ui.button("Import Asset...", Left);
|
||||
// ui.button("Export Textures...", Left);
|
||||
// ui.button("Export Mesh...", Left);
|
||||
|
||||
@@ -450,6 +450,7 @@ class UITrait {
|
||||
if (Operator.shortcut(Config.keymap.file_save_as)) Project.projectSaveAs();
|
||||
else if (Operator.shortcut(Config.keymap.file_save)) Project.projectSave();
|
||||
else if (Operator.shortcut(Config.keymap.file_open)) Project.projectOpen();
|
||||
else if (Operator.shortcut(Config.keymap.file_reload_assets)) Project.reloadAssets();
|
||||
else if (Operator.shortcut(Config.keymap.file_new)) UIBox.newProject();
|
||||
else if (Operator.shortcut(Config.keymap.export_textures)) {
|
||||
if (textureExportPath == "") { // First export, ask for path
|
||||
|
||||
Reference in New Issue
Block a user