FIX: modify enforcer and blocker color
Jira: STUDIO-4304 Change-Id: I1d58d1b61929a831fc87f53ef364eb0d1af91c17 (cherry picked from commit 40022ec91a15f2663ce51948118fe2a5b716ecdf)
This commit is contained in:
parent
bcd8c90b4f
commit
eb7f53d6c1
|
@ -58,7 +58,7 @@ void main()
|
|||
}
|
||||
else if( transformed_normal.z < slope.normal_z - EPSILON)
|
||||
{
|
||||
color = color * 0.5 + LightRed * 0.5;
|
||||
color = color * 0.7 + LightRed * 0.3;
|
||||
alpha = 1.0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,8 +84,8 @@ public:
|
|||
};
|
||||
|
||||
// BBS
|
||||
static constexpr std::array<float, 4> enforcers_color{ 0.5f, 1.f, 0.5f, 1.f };
|
||||
static constexpr std::array<float, 4> blockers_color{ 1.f, 0.5f, 0.5f, 1.f };
|
||||
static constexpr std::array<float, 4> enforcers_color{0.627f, 0.627f, 0.827f, 1.0f};//=GLVolume::SUPPORT_ENFORCER_COL
|
||||
static constexpr std::array<float, 4> blockers_color{0.823f, 0.627f, 0.627f, 1.0f};//=GLVolume::SUPPORT_BLOCKER_COL
|
||||
|
||||
#ifdef PRUSASLICER_TRIANGLE_SELECTOR_DEBUG
|
||||
void render_debug(ImGuiWrapper* imgui);
|
||||
|
|
Loading…
Reference in New Issue