Fix #37395: Rendering with a movie strip behind a scene shows inconsistent results

For now just make sure conversion to sequencer space will ensure imbuf's
color space names is set properly.

Might be some further changes needed to make colorspace flow more clear
in sequencer, but that's for later.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61229 954f8c5b-7b00-dc11-b283-0030488c597c
Used wrong RNA access routine in bevel amount commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61230 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#37388] Grid fill crashes blender in specific situation.

With some geometries, we can have a valid first path, without being able to find a valid second one, added needed check.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61231 954f8c5b-7b00-dc11-b283-0030488c597c
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/blender@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/blender@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/blender@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/blender@61235 954f8c5b-7b00-dc11-b283-0030488c597c
Instead of requiring a const char* return from the (optional) node label callback function, let it write into a mutable string buffer. This will allow actual dynamic labels for nodes using the python
API.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61236 954f8c5b-7b00-dc11-b283-0030488c597c
Make dynamic node labels possible as a registerable function 'draw_label' (simple 'label' identifier is already in use, need to avoid API breakage). This should simply return a string. The dynamic label can still be overridden by the user-defined node.label string.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61237 954f8c5b-7b00-dc11-b283-0030488c597c
Small example for dynamic node labels in the custom_nodes.py template script.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@61238 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#37362] Audio strips sometimes are evaluated incorrectly.

For details see bug comments. The problem was that blender's animation system didn't update the audio animation system anymore due to an optimization. Fixed this in a complex but proper way in the audio animation system, so that it can handle gaps of missing values.


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