Move prepared-file work into app runtime
This commit is contained in:
@@ -770,10 +770,11 @@ void NodeCanvas::draw()
|
||||
mode->on_Draw(ortho_proj, proj, camera);
|
||||
},
|
||||
.draw_heightmap = pp::panopainter::make_legacy_canvas_draw_merge_heightmap_draw(App::I->grid, proj, camera),
|
||||
.draw_current_modes = [&] {
|
||||
for (auto& mode : *m_canvas->m_mode)
|
||||
mode->on_Draw(ortho_proj, proj, camera);
|
||||
},
|
||||
.draw_current_modes = pp::panopainter::make_legacy_canvas_draw_merge_current_modes_draw(
|
||||
m_canvas->m_mode,
|
||||
ortho_proj,
|
||||
proj,
|
||||
camera),
|
||||
});
|
||||
|
||||
if (m_density != 1.f)
|
||||
|
||||
Reference in New Issue
Block a user