Skip to content
Snippets Groups Projects
Commit 657c809b authored by Sean McBride's avatar Sean McBride Committed by Kitware Robot
Browse files

Merge topic 'float-cast-overflow'


8c9e3da7 Fixed float -> uint8 overflow

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Tested-by: default avatarbuildbot <buildbot@kitware.com>
Reviewed-by: default avatarBen Boeckel <ben.boeckel@kitware.com>
Reviewed-by: default avatarMathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !11896
parents b0ba5bf7 8c9e3da7
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ void AddTextProperties(vtkSmartPointer<vtkFastLabeledDataMapper> mapper)
AddTextProperty(
mapper, 8, VTK_TIMES, 18, 1, { 0., 1., 1., 1. }, { 0., 0., 0., 1. }, { 1., 1., 1., 1. });
AddTextProperty(
mapper, 9, VTK_ARIAL, 24, 4, { 1., 5., 5., 1. }, { .5, .5, 1., 1. }, { .5, 1., .5, 1. });
mapper, 9, VTK_ARIAL, 24, 4, { 1., .5, .5, 1. }, { .5, .5, 1., 1. }, { .5, 1., .5, 1. });
}
//-----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment