SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44888 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30542] Shear Vertical Seg Faults Blender
honor the T_FREE_CUSTOMDATA flag.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44889 954f8c5b-7b00-dc11-b283-0030488c597c
revert r44887, changes were OK but caused too many problems, better do this as a smaller patch.
sphinx_doc_gen.sh broke building docs - 
- examples/ svn directory was being removed since it assumed an out-of-source build.
- include references somehow stopped working (didnt find why).

also fixed an unrelated error with building docs in object_utils.py


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44891 954f8c5b-7b00-dc11-b283-0030488c597c
Remove unused parameter from multires_dm_create_from_derived.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44892 954f8c5b-7b00-dc11-b283-0030488c597c
fixes for vertex color (found when brining X3D import back)
- tessface vertex color had the wrong sized array passing to rna_iterator_array_begin
- re-calculating tessface's would clear them if they were already created (own mistake)
- ED_mesh_color_add initialized tessface vertex colors from the loop color array

also made rna's mesh.tessface_vertex_colors.new() work like tessface_uv_textures.new()
where layers can be added as long as polygons are not present.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44893 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: simplify brush tool selection operators.

Created a single unifed operator, PAINT_OT_brush_select, to replace
BRUSH_OT_sculpt_tool_set, BRUSH_OT_vertex_tool_set,
BRUSH_OT_weight_tool_set, and BRUSH_OT_image_tool_set.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44894 954f8c5b-7b00-dc11-b283-0030488c597c
prepare for adding bmesh py api for customdata layer access - no functional changes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44895 954f8c5b-7b00-dc11-b283-0030488c597c
Un-abbreviate 'use_space_atten' (Brush RNA) to 'use_space_attenuation'.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44896 954f8c5b-7b00-dc11-b283-0030488c597c
missed these last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44897 954f8c5b-7b00-dc11-b283-0030488c597c
Add RNA for brush capabilities (sculpt-only for now.)

Added a new RNA-only nested structure, Brush.SculptCapabilities. It
contains read-only properties that use the current sculpt tool (and
occasionally other brush properties) to determine whether some feature
is available.

For example, the grab and snake-hook brushes don't support the
strength property. Querying brush.sculpt_capabilities.has_strength
will return false only if one of these brushes is selected.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44898 954f8c5b-7b00-dc11-b283-0030488c597c
Use Brush.sculpt_capabilities in Python UI code for sculpt toolbar.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44899 954f8c5b-7b00-dc11-b283-0030488c597c
Move brush tool/paint-mode from toolbar to brush menu.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44900 954f8c5b-7b00-dc11-b283-0030488c597c
2.6 User Interface:
* New Icons for the File menu, patch by David Klein (cgeffex). Thanks a lot!
* This patch also adds a new icon for the use_filter_text in Filebrowser. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44902 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for last commit:
* Icon enum was off by one. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44903 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: also allow for omp-builds with gcc-4.6.2 and 4.6.3 ( tested ), TODO: check if we can compile objC/objC++ with newer gcc too

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44904 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: move the xcode 4.3 warning up, it was not shown due error happened before, masking it

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44905 954f8c5b-7b00-dc11-b283-0030488c597c
add missing break statement from recent brush code refactor,
selecting texture paint brush would never run brush_generic_tool_set()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44906 954f8c5b-7b00-dc11-b283-0030488c597c
mesh_validate code for bmesh (i.e. polys/loops).

Everything seems to work well (many tests making random changes over various meshes went good), but the code is a bit complex and hard to follow, due to the various possibilities of invalid poly/loop combinations… Code also makes more operations than previous tri/quad faces version (hence is a bit slower), but I don’t think we can do otherwise, it’s just the price for bmesh flexibility. ;)

Note: added the py script I used to make the tests, under source/tests/...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44907 954f8c5b-7b00-dc11-b283-0030488c597c
quiet debug print(), reported as [#30552], but infact is harmless.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44908 954f8c5b-7b00-dc11-b283-0030488c597c
Commit patch from Nicholas Bishop with some small modifications
to make nicer displaying of brush names.

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