fix for decimator editing the data it loops over in an unsupported way.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60958 954f8c5b-7b00-dc11-b283-0030488c597c
move bmesh array lookup data and utility functions from editmesh into bmesh,
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces.

developers note:
- EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free
- EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index
- EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free
- ED_uv_element_get -> BM_uv_element_get


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60959 954f8c5b-7b00-dc11-b283-0030488c597c
correction to r60959, with freestyle.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60960 954f8c5b-7b00-dc11-b283-0030488c597c
correction to r60959, with openmp


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60961 954f8c5b-7b00-dc11-b283-0030488c597c
correction to r60959, with navmesh


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60962 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37221: Multilayer EXR inputs generate pink frame/last displayed frame when using an image sequence offset

generally speaking, if multilayer image fails to load for current
frame doesn't mean anything bad. It might be used to make it so
image sequence is being alpha-overed somewhere in the middle of
scene time.

Made it so if the whole file fails to load, image node will
deliver black transparent color, the same what happens for
regular (non-multilayer images).

Also needed to tweak code in load_multilayer_sequwnce to make
sure no cached frames are pointing to a freed memory.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60965 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37187: ghost/test/multitest fails to build

Commited patch provided by Lawrence D'Oliveiro, thanks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60966 954f8c5b-7b00-dc11-b283-0030488c597c