sequencer gaps
- remove unneeded checks (poll checks editor is non-null)
- use booleans
- rename operator SEQUENCER_OT_gap_remove, _gap_insert

also quiet shadow warning in rigidbody.c (shadowing 'loc')


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55604 954f8c5b-7b00-dc11-b283-0030488c597c
uv project tool: take scene aspect into account when calculating the camera bounds.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55605 954f8c5b-7b00-dc11-b283-0030488c597c
report [#34772] Incorrect aspect for tex mapping from camera view

There was no good way to UV project from a camera with non-square view-border without it stretching the image (even using 'Correct Aspect').

While this isnt a bug its useful to do a UV projection without stretching the image, added 'Camera Bounds' option.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55606 954f8c5b-7b00-dc11-b283-0030488c597c
Paint system:
Random texture mapping
* Support for 2d painting.
* Better random generation and useof the result.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55607 954f8c5b-7b00-dc11-b283-0030488c597c
move FOREACH_NODETREE internal checks into functions.
  BKE_node_tree_iter_init,step()


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55609 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34776] Linking the group in this .blend causes crash with this starting scene

disallow linked objects to be in editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55610 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet shadow warnings


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55613 954f8c5b-7b00-dc11-b283-0030488c597c
api cleanup: split part of BM_face_create_ngon_vcloud() into a new function BM_face_create_ngon_verts(),
a function to create a bmesh face from an ordered vertex array, optionally creating edges and calculating winding.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55614 954f8c5b-7b00-dc11-b283-0030488c597c
api cleanup: move edgenet bmesh operator into its own file.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55615 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions

Added new build option WITH_JACK_DYNLOAD for CMake and
WITH_BF_JACK_DYNLOAD for SCons, which means there'll be
no build-time linking against libjack and getting symbols
from libjack will happen runtime using dlopen and dlsym
tricks.

Alternative would be to use weak linking, but it'll require
having wrapper for preloading libjack.

This new options are disabled by default and they only
intended to be used on linux. Other platforms shall not
be using this and there shall be no functional changes
on non-linux platforms at all.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55616 954f8c5b-7b00-dc11-b283-0030488c597c
Set svn properties for new files



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55617 954f8c5b-7b00-dc11-b283-0030488c597c
Correction to previous commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55618 954f8c5b-7b00-dc11-b283-0030488c597c
fix for mesh face filling when a valid edge-loop was selected but unselected connecting geometry existed inside the loop.

In this case edgenet_fill operator failed and it would fallback to filling as unordered vertices which was mostly fine but failed on some concave loops.

Add a new bmesh operator 'edgeloop_fill' fills in closed loops even if they don't make a valid edge-net.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55619 954f8c5b-7b00-dc11-b283-0030488c597c
Why oh why makesrna is split into two separate scons files..

Fixed missing audio devices when building with scons

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55620 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34768] Out of bounds access in console selection.

txt_utf8_column_to_offset(): don't advance the offset anymore if a null character is found.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55621 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for timing print in renders.

The time it was printing was excluding the time spent on color and file saving.
Now it includes this too, plus it prints the time spent on color/files.

Makes quite a difference when you do sequencer conversions or grading in 
terminals - time that was printed was very misleading.

For readablity of logs, also added an extra empty line after this print.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55622 954f8c5b-7b00-dc11-b283-0030488c597c
api cleanup: replace BMO_vert_edge_flags_count() with more reusable function - BMO_iter_elem_count_flag().
closely matching existing BM_iter_elem_count_flag() function but checks tool-flags instead.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55623 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34779: Channels disappear from multilayer exr sequence

Issue was caused by delayed or missing image user frame
number update, which lead to image loading failure in
cases node is updating from image signal callback.

Solved in a way that file from image datablock is used
for sockets detection instead of loading image for
current frame.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55624 954f8c5b-7b00-dc11-b283-0030488c597c
Tiny fix for sequencer: 

"View selected strip(s)" now includes the active strip (which can be deselected 
in cases). Less confusing this way, also because active strip is being drawn 
very visible.



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