Fix [#37380] vertex paint colors don't render.

Another Evil Typo (r) one, you could add much more than the 8 allowed VCol layers!

Note: added some (warning-only) checks in mesh validate functions, but we still have a big issue with new cdlayer merge function, which could generate more than 8 layers of UVs or VCol... Don't know yet how to handle this situation. :(

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61232 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
Now the method checks if the iterator is at the end, and returns None if that is the case.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61233 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE

Add back mute & lock buttons to audio strips (these should not have been removed, own fault).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61234 954f8c5b-7b00-dc11-b283-0030488c597c
Change the behavior of AO pass in Blender internal's shader/render node tree so that it becomes (1.0, 1.0, 1.0) when AO is disabled.

For materials using AO pass, this makes the material preview and the GLSL
preview more accurate, but shouldn't affect final rendering in most cases
because we usually enable AO when using the AO pass in node tree.

Thanks to Brecht for code review.


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