Fix bug 30696, circular mesh objects had wrong orientation.

Behavior now matches 2.62, circle, cone, and cylinder get first vertex
at 0 degrees.

Also fixed range for vertex property of add-cone and add-cylinder
operators, changed minumum from two to three.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45210 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh py api:
  added access to deform weights, access to weights acts like a python dict so you can do...

  print(group in dvert)
  dvert[group] = 0.5
  print(dvert[group])
  del dvert[group]
  print(dvert.items())



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45211 954f8c5b-7b00-dc11-b283-0030488c597c
Spelling fix, sentine -> sentinel.

'sentine' apparently means "A place for dregs and dirt; a sink; a sewer" :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45212 954f8c5b-7b00-dc11-b283-0030488c597c
Fix more truncated comments.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45213 954f8c5b-7b00-dc11-b283-0030488c597c
Partial fix for bug 30695, "Array broke crease, weird visibility and slowdown"

* Array modifier creates BMesh from DM; add missing CD_CREASE layer
  for edge creases.

* With a modifier stack like mirror+subsurf+array, face normals were
  wrong. Fix by removing CD_NORMAL layer from CCGDM output. Previously
  the elements in this layer were simply copied, so they did not
  reflect subdivision correctly.

* Minor style fixes in bmo_dupe.c.

Issues not yet addressed:

* Subsurf's optimal draw setting for hiding subdivision edges is not
  respected by the array output.

* Slowdown issue; array modifier is much slower than in 2.62.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45214 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug 30697, strange shading on array modifier with offset object.

* An offset object can rotate output, so need to update normals to
  reflect that. Fix by adding a normals recalc, but only if there's an
  offset object.

* Added BMESH_TODO comment to check whether there are other cases were
  normals need to be updated.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45215 954f8c5b-7b00-dc11-b283-0030488c597c
BMesh TODOs: use loops/polys instead of tessfaces.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45216 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related to #30674: 2D image painting would do unnecessary full GL texture
delete at the end of the stroke, even when doing partial updates.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45217 954f8c5b-7b00-dc11-b283-0030488c597c
Patch [#30683] Editmesh_tools without descriptions by Harley Acheson (harley) 

* Some Edit Mesh operators were missing the description after b-mesh merge. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45218 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related to #30674: remove unnecessary global undo push during image paint,
not needed since it already has local image undo stack.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45219 954f8c5b-7b00-dc11-b283-0030488c597c
Fix tweak for #30638: use same BMesh Face area computation functions as Mesh,
it's a bit fuzzy how to compute area for ngons, but at least should be consistent.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45220 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30658: add new uv layer in object mode did not copy coordinates from
existing layer as it does in edit mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45221 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30700] Blend from Shape gives only selection for basis shapekey

RNA_enum_item_add already sets totitem, so it was increased twice…

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45222 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30685] Solidify tool behaves like Shrink/Fatten (editmesh functionality stuff)

solidify had a limit imposed on how far vertices could move which didnt work well, removed (the modifier doesnt do this).

also missed freeing 2 arrays.


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