*picky* fix for edge rotate

- Edge rotate would leave verts selected, this would give problems because those selections would leave edges that would try to rotate when run again. now de-select old verts on edge rotate.

- Rotating into hidden verts gave odd results, now make sure hidden state is ok.

- BMO_slot_buffer_hflag_disable / BMO_slot_buffer_hflag_enable now have flushing for the hide flag too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44911 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: being back bevel modifier from 2.62 stable.

this is no big improvement but at least its not a regression.

using the new operator for the bevel modifier can be enabled again be uncommenting a define.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44913 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for multires VBO drawing in sculpt mode.

Forgot to use return value of function creating the index buffer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44914 954f8c5b-7b00-dc11-b283-0030488c597c
py api:
  modify bpy.path.display_name_from_filepath() to accept bytes


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

Wrap customdata, so far you can access the data layers in a pythonic way but not manipulate the customdata yet.

provides dictionary like access to customdata layers, eg:
  texpoly = bm.faces.tex["UVMap"]
  print(bm.verts.shape.keys())  # un-intended pun, keys() works on all layers.
  print("MyInt" in bm.edges.int)  # __contains__
  layer = bm.faces.get("CheckForLayer")



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44916 954f8c5b-7b00-dc11-b283-0030488c597c
fix for building bmesh bevel with scons (source file was left out)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44917 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh py api:
initial support for editing bmesh customdata per vert/edge/face/loop

shapes, crease, bevel weights working, missing UVs and Vertex Colors still.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44918 954f8c5b-7b00-dc11-b283-0030488c597c
Fix object mode check in stats_update.

Was checking object flag rather than mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44919 954f8c5b-7b00-dc11-b283-0030488c597c
== Python API docs ==

Committing a patch similar to revision 44887 with fixes to my own bugs
(sorry Campbell, and thanks for reviewing :)

Fixes
------
- examples/ svn directory not removed anymore (in-source builds possible again)
- fixed "include references somehow stopped working"
+ using shutils.makearchive() to zip the file

New command line options
------------------------

-l: Log the output of the api dump and sphinx|latex warnings and errors
    If given, save logs in:
    * OUTPUT_DIR/.bpy.log
    * OUTPUT_DIR/.sphinx-build.log
    * OUTPUT_DIR/.sphinx-build_pdf.log
    * OUTPUT_DIR/.latex_make.log

    (using only one log directive instead of -l for bpy and -L for sphinx)

-P: builds the pdf

-R: pack the files in a dir ready for online deployment
    (including the zip and the pdf eventually)

Example usage:
./blender.bin -b -P doc/python_api/sphinx_doc_gen.py -- -p bmesh* -o ./<OUTPUTDIR> -B -P -R -l




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44920 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30561 Modifiers with use_apply_on_spline = True do not work on curve with shapekeys

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44921 954f8c5b-7b00-dc11-b283-0030488c597c
Allow merging two tracks in cases when they've got overlapping tracked/keyframed
frame ranges using average position of both tracks as position/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44922 954f8c5b-7b00-dc11-b283-0030488c597c
== Python API docs ==

Small fixes (thanks Terry Wallwork for reporting)
- adding logger filehandler in main () so that ARGS.output_dir exists, otherwise we get an IOError
- the zip was not including files in a container directory



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44923 954f8c5b-7b00-dc11-b283-0030488c597c
i18n stuff: adds translation_context to RNA structs (used for there ui name), and a first default "Operator" one for all operators' label.

The fact is, operators' label are nearly always verbs, while properties labels are nearly always nouns. So this should already solve many translations' problems regarding noun/verb confusion.

This commit also simplifies a bit i18n usage:
*Now IFACE_ and TIP_ macros (or there context versions, CTX_IFACE_/TIP_) are used nearly everywhere (with one exception, where code is a bit complex and needs to manually test whether ui/tip translations is allowed, so no need to redo it later through those macros).
*Also, those macros are now defined to NOP in case WITH_INTERNATIONAL is false, which avoid testing that define everywhere in code!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44924 954f8c5b-7b00-dc11-b283-0030488c597c
Patch by Psy-Fi + my minor changes

Adds conformation on exit for windows. Needs to be enabled in user perf.

Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44925 954f8c5b-7b00-dc11-b283-0030488c597c
Follow up to fix in r44919: use standard stats in paint modes.

Removed the special case for header statistics in sculpt/paint
modes. The information provided was less useful, and less accurate
even because it didn't reflect multires.

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