diff --git a/paint/sources/ui_base.ts b/paint/sources/ui_base.ts index 8b074cc0..60766e3e 100644 --- a/paint/sources/ui_base.ts +++ b/paint/sources/ui_base.ts @@ -105,6 +105,9 @@ function ui_base_init() { scene_world._.envmap = context_raw.show_envmap ? context_raw.saved_envmap : context_raw.empty_envmap; context_raw.ddirty = 1; + let resources: string[] = ["cursor.k", "icons.k"]; + resource_load(resources); + let scale: f32 = config_raw.window_scale; let ops: ui_options_t = { theme: base_theme, @@ -133,9 +136,6 @@ function ui_base_init() { context_raw.gizmo_rotate_y = object_get_child(context_raw.gizmo, ".RotateY"); context_raw.gizmo_rotate_z = object_get_child(context_raw.gizmo, ".RotateZ"); - let resources: string[] = ["cursor.k", "icons.k"]; - resource_load(resources); - project_new(false); if (project_filepath == "") {