Blender Git Commit Log

Git Commits -> Revision 40b3674

Revision 40b3674 by Brecht Van Lommel (master)
August 17, 2016, 21:54 (GMT)
Code cleanup to use array.data() rather than &array[0].

These latter can cause MSVC debug asserts if the array is empty. With C++11
we'll be able to do this for std::vector later. This hopefully fixes an assert
in the Cycles subdivision code.

Commit Details:

Full Hash: 40b367479c6fe23d6f2b6d822f2d5266485619f3
Parent Commit: c0161a1
Lines Changed: +24, -24

5 Modified Paths:

/intern/cycles/render/mesh.cpp (+11, -11) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+9, -9) (Diff)
/intern/cycles/subd/subd_dice.cpp (+1, -1) (Diff)
/intern/cycles/subd/subd_patch_table.cpp (+2, -2) (Diff)
/intern/cycles/subd/subd_patch_table.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021