mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-09-01 22:41:51 -06:00
Merge branch 'fix_simulation_view_crash' of https://github.com/fieldOfView/Cura into fieldOfView-fix_simulation_view_crash
This commit is contained in:
commit
5b99de1ebd
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ vertex41core =
|
||||||
|
|
||||||
float clamp(float v)
|
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;
|
return t > 1.0 ? 1.0 : t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue