Initialize array of vectors on VS2015

This commit is contained in:
Jan Möbius
2016-04-28 12:04:15 +02:00
parent 78196aaaa2
commit 254a4c9054

View File

@@ -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());