style cleanup: osl and NULL pointer use, also correct sequencer gap operator id's


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55635 954f8c5b-7b00-dc11-b283-0030488c597c
workaround for crash when accessing vertex colors in editmode,
just disallow vertex color access in editmode as is done with UV's.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55637 954f8c5b-7b00-dc11-b283-0030488c597c
Fix typo with non-system bullet.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55638 954f8c5b-7b00-dc11-b283-0030488c597c
fix for loosing recent-files when running 'Copy Previous Settings'.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55639 954f8c5b-7b00-dc11-b283-0030488c597c
own error in recent commit, uninitialized variable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55640 954f8c5b-7b00-dc11-b283-0030488c597c
BMesh: make the context create operator (Fkay) more logical, before calling each operator check the state that it can even run and do something.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55641 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34773: smooth brush used on a shape key messes up the topology

Key block update was missing coordinates for hidden vertices.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55642 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34636] bpy.app.handlers.load_post not run on startup file loading after splashscreen 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55643 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34782: Video Editor - Substract after transform fails

Couple of precision issues here:

- Interpolation was rounding trunkcating colors, and because
  of some precision issues value 254.999 became 254 leading
  to troubles later.

  Now color interpolaiton will do rounding to nearest int.

- Subtract was setting channels to something negative which
  confused color management (especially negative alpha),

  Now subtract effect will clamp channels to 0 from bottom
  and also do some tricks to prevent small alpha which
  could also confuse color management.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55644 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for node groups, now exposing a socket will copy the default value from internal nodes again. Also this value can be changed in the node group Interface panel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55645 954f8c5b-7b00-dc11-b283-0030488c597c
I18n: fix/enhance how predefined contexts are handled in py code. Now they should be specified by an attribute with the same name as the one in bpy.app.translations.contexts named tuple (i18n_contexts.default, .id_windowmanager, etc.).

This way, i18n message extracting code is now able to get the right context!

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

* Reflect changes stated in prev commit about contexts in py code.

* Add a "Plural" context, to handle cases where english does not mark plural at all (e.g. shorten labels of only one adjective). Not so happy with that, but can't see any other way to do it, for now.

* Abuse "ID_CURVE" context for all falloff curves (this should solve some confusion issues, e.g. "sharp"...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55647 954f8c5b-7b00-dc11-b283-0030488c597c
modified build system for updated opencollada libraries (windows only, other platforms might want to update as well)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55649 954f8c5b-7b00-dc11-b283-0030488c597c
Updated Blender Collada module to newest opencollada API

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55650 954f8c5b-7b00-dc11-b283-0030488c597c
scon update for new collada libraries

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55651 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: python/pep8 and double-promotion warnings.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55652 954f8c5b-7b00-dc11-b283-0030488c597c
Use same opencollada rev as windows' libs.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55653 954f8c5b-7b00-dc11-b283-0030488c597c
don't save select extend state for marker selection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55654 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34804] Only timeline_markers[0] is selectable if multiple markers at same frame

also add macros for looping on listbases as if they were circular lists which is handy for cycling over items.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55655 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Sequencer:
* Remove "use_frame_blend" from RNA and UI file, not used anywhere in the code, also mark SEQ_SPEED_BLEND as deprecated. 

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