diff --git a/paint/sources/context.ts b/paint/sources/context.ts index 34d73fc6..cf8e624d 100644 --- a/paint/sources/context.ts +++ b/paint/sources/context.ts @@ -569,7 +569,6 @@ function context_init_tool() { } util_render_make_decal_preview(); } - else if (context_raw.tool == tool_type_t.PARTICLE) { util_particle_init(); } @@ -583,11 +582,6 @@ function context_init_tool() { layers_update_fill_layers(); context_main_object().skip_context = null; } - - ///if arm_ios - // No hover on iPad, decals are painted by pen release - config_raw.brush_live = decal; - ///end } function context_select_paint_object(o: mesh_object_t) { diff --git a/paint/sources/project.ts b/paint/sources/project.ts index 9d0ac7a6..24427756 100644 --- a/paint/sources/project.ts +++ b/paint/sources/project.ts @@ -203,7 +203,7 @@ function project_new(reset_layers: bool = true) { let mesh: raw_mesh_t = geom_make_plane(1, 1, 512, 512); mesh.name = "Tessellated"; raw = import_mesh_raw_mesh(mesh); - viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top + // viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top } else { let b: buffer_t = data_get_blob("meshes/" + mesh_name + ".arm"); diff --git a/paint/sources/render_path_paint.ts b/paint/sources/render_path_paint.ts index e7634ec7..c79c44a9 100644 --- a/paint/sources/render_path_paint.ts +++ b/paint/sources/render_path_paint.ts @@ -612,12 +612,10 @@ function render_path_paint_draw() { return; } - ///if (!arm_ios) // No hover on iPad, decals are painted by pen release if (config_raw.brush_live && context_raw.pdirty <= 0 && context_raw.ddirty > 0 && context_raw.brush_time == 0) { // gbuffer has been updated now but brush will lag 1 frame render_path_paint_commands_live_brush(); } - ///end if (history_undo_layers != null) { render_path_paint_commands_symmetry(); diff --git a/paint/sources/ui_base.ts b/paint/sources/ui_base.ts index 8b074cc0..3d0fbe1c 100644 --- a/paint/sources/ui_base.ts +++ b/paint/sources/ui_base.ts @@ -855,16 +855,6 @@ function ui_base_update_ui() { down = false; } - ///if arm_ios - // No hover on iPad, decals are painted by pen release - if (decal) { - down = pen_released(); - if (!context_raw.pen_painting_only) { - down = down || mouse_released(); - } - } - ///end - if (down) { let mx: i32 = mouse_view_x(); let my: i32 = mouse_view_y();