Commit 254a4c90 authored by Jan Möbius's avatar Jan Möbius

Initialize array of vectors on VS2015

parent 78196aaa
Pipeline #1511 passed with stage
......@@ -851,7 +851,12 @@ compute_screen_space_error(VHierarchyNodeHandle node_handle, VHierarchyNodeHandl
Vec3f residual;
Vec3f res;
Vec3f lp;
#if (_MSC_VER >= 1900 )
// Workaround for internal compiler error
Vec3f tri[3]{ {},{},{} };
#else
Vec3f tri[3];
#endif
float s, t;
VHierarchyNodeHandleContainer::iterator n_it, n_end(leaf_nodes.end());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment