bmesh edge dissolve: add option use_face_split (matching vertex dissolve option),
useful to avoid odd shaped ngons surrounding dissolved edges.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57444 954f8c5b-7b00-dc11-b283-0030488c597c
Change edgeloop delete to use dissolve, fixes bug [#35738].

Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects).

This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control)
and multiple edge loops work better too. eg:
- http://www.graphicall.org/ftp/ideasman42/edge_loop_del_update.png


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57445 954f8c5b-7b00-dc11-b283-0030488c597c
remove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57446 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: make_edges_mdata() reduce some sign conversion, pointer indirection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57447 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: reduce pointer indirection for mesh-map creation functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57448 954f8c5b-7b00-dc11-b283-0030488c597c
utility function BKE_mesh_edge_poly_map_create(), currently unused.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57449 954f8c5b-7b00-dc11-b283-0030488c597c
utility function for calculating smooth groups from sharp edges: BKE_mesh_calc_smoothgroups


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57450 954f8c5b-7b00-dc11-b283-0030488c597c
Added a read-only dimensions property for Nodes. This returns the actual node size as calculated in the node_update functions. It can be useful for node layout scripts, since the width/height properties
are not an accurate representation of the actual node size which is determined by the uiLayout.

Please note that the dimensions calculation depends on the drawing of nodes, so it may not get updated if nodes are not visible in any editor. Also the node height in particular can change dramatically
based on previews, visible sockets, etc.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57451 954f8c5b-7b00-dc11-b283-0030488c597c
expose smooth group calculation to python as Mesh.calc_smooth_groups()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57452 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for 
 * [#35724] Backdrop zoom can be set to a very small value, making the backdrop disapear.

There were checks in the drawnode that needed to be placed in the readfile.
The checks checked if the zoomlevel was 0.0, then it was defaulted to 1.0, but the zoomvalue had a minimum limit of 0.01, hence it did not work.
Moved the check to the readfile and checked for all values smaller then 0.02. These values are then reset to 1.0

Jeroen & Monique
 - At Mind -


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57453 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Style cleanup for M_PI constants.
* Move Wireframe node into __EXTRA_NODES__ define

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57454 954f8c5b-7b00-dc11-b283-0030488c597c
fix for building c++ rna api with recently added smoothgroup api call.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57455 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35694] Lattice; Display Type: "Bounds" not working


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57456 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: removed unused B_BUTSPREVIEW event, and moved back rna_SpaceProperties_texture_context_itemf() together with its fellow functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57457 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error in recent solitify refactor (r57402), face flip check was incorrect.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57458 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for splitting at material boundaries not correctly working with border lines.

Problem report by Charblaze in the BlenderArtists.org Freestyle thread, thanks!

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