Files
armorpaint/armorlab/sources/base_ext.ts
T
luboslenco 974926c04d Cleanup
2025-03-11 19:49:42 +01:00

25 lines
484 B
TypeScript

function base_ext_init() {
random_node_set_seed(math_floor(sys_time() * 4294967295));
}
function base_ext_render() {
if (context_raw.frame == 2) {
sys_notify_on_next_frame(function () {
sys_notify_on_next_frame(function () {
tab_meshes_set_default_mesh(".Sphere");
});
});
}
}
function base_ext_init_config(raw: config_t) {
raw.displace_strength = 1.0;
raw.workspace = space_type_t.SPACE2D;
raw.node_preview = false;
}
function base_ext_update() {
}