fix [#36625] Particle Instances ignores Group offsets
in fact this failed for all nested dupli types except for dupli-groups, (which ignore the 'par_space_mat' object_duplilist_recursive()).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60230 954f8c5b-7b00-dc11-b283-0030488c597c
minor edits to poly_find_ear() bmesh function, no functional changes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60231 954f8c5b-7b00-dc11-b283-0030488c597c
speedup for ngon tessellation, check if the angle is an improvement before doing the full intersection check.
with 500 verts gives approx 2x speedup.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60232 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for OutputFile node, this would crash with unconnected sockets in MultiEXR mode, because it matches sockets and EXR layers by index and was skipping unconnected sockets. Simply create EXR layer info
for all sockets now and then ignore unconnected layers when finally writing to file in deinitExecution.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60233 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36755, EXR Layers are not fully updated on scene load or image refresh.
After discussion with Brecht decided that automatically updating the sockets of the node based on externally modified data (removed EXR file passes) is not desirable behavior. But at least making sure
the correct passes are assigned to the output sockets of the Image node is possible. Now the passes are matched by name instead of using the faulty index stored in the socket data, which is more
reliable. Still may break if changing pass names externally, but an image reload is highly recommended anyway and will fix that.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60234 954f8c5b-7b00-dc11-b283-0030488c597c
Potential fix for install_deps.sh OSL build issues reported by users: run ldconfig immediately after lib compile (looks like OSL compile process needs boost libs...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60235 954f8c5b-7b00-dc11-b283-0030488c597c
Fix potential crash in knife.
A crash was reported but without info to reproduce.
This is a likely crash introduced by previous fix
to allow linehits to snap to vertices.
The function to find connected linehits can't
assume all linehits have edges any more.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60236 954f8c5b-7b00-dc11-b283-0030488c597c
Prevent assert failure in knife.
It seems sometimes a knife edge with the same
vertex on both ends was created sometimes.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60237 954f8c5b-7b00-dc11-b283-0030488c597c
Fix own stupid error in previous commit... :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60241 954f8c5b-7b00-dc11-b283-0030488c597c
Ensure positions can be read for sources that have stride
defined as 2 (2D coordinates).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60242 954f8c5b-7b00-dc11-b283-0030488c597c
correct include guards and add checks in check_style_c.py for them.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60243 954f8c5b-7b00-dc11-b283-0030488c597c
* Style cleanup / Cycles. 

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