* Trunk is open again, BCon 1. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51028 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre-bmesh blender version, remove MODSTACK_DEBUG, was never used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51029 954f8c5b-7b00-dc11-b283-0030488c597c
use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51030 954f8c5b-7b00-dc11-b283-0030488c597c
avoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51031 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: make the behavior of set_current_material_texture() clearer and remove redundant NULL check there. also small changes to ui_draw_but_HSVCIRCLE().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51032 954f8c5b-7b00-dc11-b283-0030488c597c
fix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51033 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: fix warning: -Wuninitialized is not supported without -O, in debug-mode

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51034 954f8c5b-7b00-dc11-b283-0030488c597c
Added convenience operator to clear animation (i.e. all keyframes = F-Curves)
from selected objects and bones


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51035 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#32754] Clear Motion paths button not available on Motion paths panel

On second thought, perhaps it is more convenient/natural if this was shown in
both places, given that many
people may only find the motion paths options through the UI now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51036 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: fix warning: second try

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51037 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: fix warning: go back to initial state, not the right way to get rid of this

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51038 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: comment verse outliner views, also correct warning in recent commit.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51040 954f8c5b-7b00-dc11-b283-0030488c597c
Color Management: fallback to stub ocio implementation in cases when
ocio configuration file failed to load

This solves issues with infinite NULL-checks to prevent crashes in
such situations. Currently only happens if there's no configuration
file at all, but could be tweaked further to fallback if this file
isn't usable by blender.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51041 954f8c5b-7b00-dc11-b283-0030488c597c
Missed this files in previous commit



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51042 954f8c5b-7b00-dc11-b283-0030488c597c
And this file was also missed in previous commit, pardon.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51043 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for rtl processing of menu strings...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51044 954f8c5b-7b00-dc11-b283-0030488c597c
Kind of cleanup of "menu strings": always have a space between the entry's label and value (these strings are a nightmare to handle in RTL languages like arabic or persian, but a bit less of a nightmare this way ;) ).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51045 954f8c5b-7b00-dc11-b283-0030488c597c
Have CPack rpm builder install the colorspace folder too


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51046 954f8c5b-7b00-dc11-b283-0030488c597c
refactor ED_view3d_project_short & ED_view3d_project_short_noclip,

This is apart of a code cleanup to make  ED_view3d_project_short/ED_view3d_project_int/ED_view3d_project_float interchangeable. Currently they work very differently in a way thats quite confusing (and cause of bugs in blender that remain uncorrected) - fixes coming.

There are also cases where ED_view3d_project_short is used, then the values are converted from shorts into int's after because ED_view3d_project_int() behaves differently, will unify behavior of these functions after this commit.

- rather then clip/noclip versions, pass flags (for bound-box clip, window clip).
- rather then store the invalid clip-value, return success (or error value clip_near, clip_bb, clip_win, overflow).
- remove local copies of project functions from drawobject.c: view3d_project_short_clip, view3d_project_short_noclip, view3d_project_short_clip_persmat.


add functions:
- ED_view3d_project_short_global() global space projection
- ED_view3d_project_short_object() object space projection.
- ED_view3d_project_short_ex() take perspective matrix and local space option as args.
- ED_view3d_project_base() - special function to set the Object 'Base' screen coords (sx, sy), since this is a common enough operation.


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