Fixed warning.
This commit is contained in:
parent
a99c23f649
commit
a61010a9ff
2
3rdparty/ocornut-imgui/widgets/gizmo.inl
vendored
2
3rdparty/ocornut-imgui/widgets/gizmo.inl
vendored
@ -1330,7 +1330,7 @@ namespace ImGuizmo
|
||||
float validScale[3];
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
if (fabsf(scale[i] < FLT_EPSILON))
|
||||
if (fabsf(scale[i]) < FLT_EPSILON)
|
||||
validScale[i] = 0.001f;
|
||||
else
|
||||
validScale[i] = scale[i];
|
||||
|
Loading…
Reference in New Issue
Block a user