Merge forge

This commit is contained in:
luboslenco
2025-08-08 14:09:48 +02:00
parent feb49bd118
commit 625aa681a9
10 changed files with 225 additions and 17 deletions
+13
View File
@@ -9,6 +9,11 @@ function base_ext_render() {
base_init_undo_layers();
}
if (context_raw.tool == tool_type_t.GIZMO) {
sim_init();
sim_update();
}
}
function base_ext_init_config(raw: config_t) {
@@ -16,5 +21,13 @@ function base_ext_init_config(raw: config_t) {
}
function base_ext_update() {
if (context_raw.tool == tool_type_t.GIZMO) {
if (keyboard_down("control") && keyboard_started("d")) {
sim_duplicate();
}
if (keyboard_started("delete")) {
sim_delete();
}
}
}