Fix various warnings with clang build, and adjust cmake clang warnings flags
to include a few more that gcc is using too.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54890 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34455] Origin to Center of Mass is missing in menu Object > Transform

Just adding the needed py line.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54891 954f8c5b-7b00-dc11-b283-0030488c597c
add PHY headers to cmake's ketsji (else some IDE's won't show)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54892 954f8c5b-7b00-dc11-b283-0030488c597c
Grmlll... *Always* check before commit, even on such simple things! (Fix for own mistake in previous commit).

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

This fixes the placement code of new files added to the sequencer timeline.

The old code tried to guess the strip position from the current mouse
pointer position.

Annoying effect: if you add a new strip using the menu, especially if the
file editor pops up, the strip ends up in nowheres land (most likely around
track 40, frame -200).

New behaviour: strips are always placed at cfra, which is the
sequencer equivalent to the 3D cursor (and that's where new objects in 
3D editing end up).

Bonus feature: we try our best to guess the right track by finding the
nearest strip by type.

The patch was inspired by 
[#32766] VSE: Add Strip on Current Frame

Thanks to venomgfx for the idea!



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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54895 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: unused arg


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54896 954f8c5b-7b00-dc11-b283-0030488c597c
make sure objects dragged into the viewport are not hidden.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54897 954f8c5b-7b00-dc11-b283-0030488c597c
enable grabbing for 2d view zooming, good for the graph editor.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54898 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own regression - joining meshes didn't merge customdata flags (could loose crease/bevel weights).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54899 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own regression, edge path tagging worked but toggline bevel didnt.
reported as bug [#34449]


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54900 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34439: Strip modifier - Mask multiply failure

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54901 954f8c5b-7b00-dc11-b283-0030488c597c
changing image dropping into the viewport to add empty objects (from r54825) wasnt such a popular move,
reinstate old behavior, holding Ctrl now adds empty objects instead.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54902 954f8c5b-7b00-dc11-b283-0030488c597c
minor changes to outliner
- linking groups into a scene now uses the objects original layers (some users have the layers set to useful values, so overwriting isnt so nice).
- dropping objects into the 3d view would make them active but not selected, a valid but confusing state, since most tools activate and select now objects.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54903 954f8c5b-7b00-dc11-b283-0030488c597c
Added RGBA|RGB channels toggle to sequencer preview

Main purpose of this is to be more compatible with older
versions of blender (before alpha cleanup) where sequencer
used to display premultiplied image on an straight opengl
viewport.

Now sequencer preview would behave closer to image editor
However adding Alpha and R|G|B displays is not so simple
because sequencer is using 2D textures. Would be nice to
implement this options as well, but this is not so much
important IMO.

This hall fix
- #34453: VSE: Subtract function does not work properly

TODO: Make RGBA display default for our startup.blend

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54904 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error with drag toggle which showed up with overlapping regions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54905 954f8c5b-7b00-dc11-b283-0030488c597c
Collada export: Add ngon support (initial)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54906 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34460] text editor freezes when turning on syntax highlight 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54907 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #34436

Two example files that crashed texture nodes. 
- On delete texture nodes, it should free the exec cache (because this cache
  stores the node pointer.
- On redo, nodes can exist can exist without typeinfo set. Exec (free) code
  was not checking for that. Don't ask me why this happens... tex nodes are weird.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54908 954f8c5b-7b00-dc11-b283-0030488c597c
Various small enhancements/fixes.

Most notable difference from now on will be that all py is handled from current blender's resource dirs, no more from source dir. Better for consistency, and avoid e.g. cycles' addon to be checked twice...

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