mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 21:02:02 +08:00
SPE-2629: Highlight active bed even when its bed model is big
This commit is contained in:
parent
33e69527ee
commit
ceefdebbe2
@ -607,7 +607,7 @@ void Bed3D::render_default(bool bottom, bool picking, bool show_texture, const T
|
||||
glsafe(::glEnable(GL_BLEND));
|
||||
glsafe(::glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA));
|
||||
|
||||
const bool has_model = !m_model.model.get_filename().empty();
|
||||
const bool has_model = !m_model.model.get_filename().empty() && ! m_models_overlap;
|
||||
if (!has_model && !bottom) {
|
||||
// draw background
|
||||
glsafe(::glDepthMask(GL_FALSE));
|
||||
|
Loading…
x
Reference in New Issue
Block a user