Merge branch 'fix_simulation_view_crash' of https://github.com/fieldOfView/Cura into fieldOfView-fix_simulation_view_crash

This commit is contained in:
Remco Burema 2021-11-23 09:13:48 +01:00
commit 5b99de1ebd
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -111,7 +111,7 @@ vertex41core =
float clamp(float v)
{
float t = v < 0 ? 0 : v;
float t = v < 0.0 ? 0.0 : v;
return t > 1.0 ? 1.0 : t;
}