mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-14 21:44:27 +03:00
Fixed issue that the lower half of the object was shown darker than the upper half of the object after slicing with MMU segmentation.
This commit is contained in:
@@ -653,6 +653,7 @@ void TriangleSelectorGUI::render(ImGuiWrapper* imgui)
|
||||
shader->start_using();
|
||||
ScopeGuard guard([shader]() { if (shader) shader->stop_using(); });
|
||||
shader->set_uniform("slope.actived", false);
|
||||
shader->set_uniform("print_box.actived", false);
|
||||
|
||||
if (render_enf) {
|
||||
std::array<float, 4> color = { 0.47f, 0.47f, 1.f, 1.f };
|
||||
|
||||
Reference in New Issue
Block a user