Remove unused stroke mix planning

This commit is contained in:
2026-06-13 19:44:27 +02:00
parent 2887d02484
commit 4229f17f1a
3 changed files with 5 additions and 9 deletions

View File

@@ -394,14 +394,6 @@ void Canvas::stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz)
auto& current_layer = *m_layers[layer_index];
std::array<glm::mat4, 6> plane_transform {};
std::copy(std::begin(m_plane_transform), std::end(m_plane_transform), plane_transform.begin());
const auto mix_planes = pp::panopainter::plan_legacy_canvas_stroke_mix_pass_planes(
current_layer.m_visible,
current_layer.m_opacity,
glm::scale(glm::vec3(1, -1, 1)) * m_proj * m_mv,
plane_transform,
[&](int plane_index) {
return current_layer.face(plane_index);
});
const auto mix_shell = pp::panopainter::make_legacy_canvas_stroke_mix_pass_shell(
[&] {
m_mixer.bindFramebuffer();
@@ -422,7 +414,6 @@ void Canvas::stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz)
mix_shell.setup.begin,
mix_shell.setup.end,
mix_shell.request);
(void)mix_planes;
gl.restore();
}