Fix related to #30859: bmesh face splitting would set the first loop of the new
faces to a loop quite different than the original first loop. This makes e.g.
duplifaces give rotated results after subdivide or loopcut.

Now it tries to find a first loop that is similar to the old one, to try to keep
the rotations the same.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45503 954f8c5b-7b00-dc11-b283-0030488c597c
use space more efficiently for normal mesh panel buttons (icons for face/vert normal)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45504 954f8c5b-7b00-dc11-b283-0030488c597c
fix for too small MATHUTILS_TOT_CB when the game engine runs.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45505 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30839] Blender crashes while open/close a scene and deletes .blend-file


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45506 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30879: uv editor hide did not work with the mesh in vertex/edge select
mode, selection was not flushed down to faces.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45507 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45508 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45509 954f8c5b-7b00-dc11-b283-0030488c597c
mango request: option to draw background in front of all objects in the viewport.
Should be really handy for painting clean plates.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45510 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30754: motion blur shutter was animateable while this is actually not
supported.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45511 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: remove a bunch of unused code from this file.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45512 954f8c5b-7b00-dc11-b283-0030488c597c
Fix properties editor, right click menu "Copy to Selected" not working for
object modifier/constraint/physics properties. Now uses RNA path rather than
only properties on the object itself.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45514 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30850: bevel tool only works on edges but tooltip indicated it worked on
vertices too, fixed tooltip. Also add bevel to edge menu since it works edge
based.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45515 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30892: File > New is easy to hit accidentally, now it asks for confirmation.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45516 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30874: Single texture display in Edit Mode

It was a regression since 2.62 caused by how texface is passing to drawParamsMapped
Previously it was used from CD layer but now it's getting copied from MexPoly
into a variable allocated in stack for function void emDM_drawFacesTex_common.

To set texture needed to draw particular face function set_draw_settings_cached
is used, which tries to not to copy texture into GPU when it's not needed (for
example, when drawing bunch of faces with the same texture) and one of condition
if texture should be updated in GPU was comparing address of texface passed to
this function and cached texface. But this address are exactly the sane and
points to a memory inside stack of emDM_drawFacesTex_common.

Fixed by cacheing texface content, not it's address.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45517 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30698: python console nodetree paths were not accurate, now show ... like
in some other cases to at least show these are not accurate.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45518 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for recent commit that changed normal display buttons to use icons, the
vertex/face icons were swapped.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45519 954f8c5b-7b00-dc11-b283-0030488c597c
Smoke: Fix for some non animated properties

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45521 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30664: Texturepaint color does not match texture color (3D View vs UV/Image Editor)

Another regression since bmesh merge which was caused getting CD_MTFACE from
polys datablock instead of face datablock.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45522 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30904: MovieClip.objects.new() segfault when no name is passed

Made name property required for new().

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45528 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30897] UVEditor: Snap Cursor to Selected
was writing the 3rd component of a 2D vector.


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