add support for BM_mesh_calc_face_groups to use vertex connectivity (not currently used yet)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58495 954f8c5b-7b00-dc11-b283-0030488c597c
Show full image node detail buttons in the sidebar. The image nodes in compositor, cycles and texture nodes were showing a very reduced version of the image data block UI, based on the idea of fitting it
into the confined space of a node. However, in the side bar panel there is no reason to limit the buttons. In fact it is very helpful to have this UI available, otherwise users have to have an image
editor or (BI) texture buttons window next to the node editor to access these image details.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58496 954f8c5b-7b00-dc11-b283-0030488c597c
transform was flushing the selection (inline), now skip this and use the selection as-is.
flush the selection on entering editmode instead (since the selection mode can be changed with another mesh).
is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58498 954f8c5b-7b00-dc11-b283-0030488c597c
old todo, rotate around individual origins now supports connected face/edge islands.
previously this gave very odd/annoying results, see bug reports [#36134], [#35419]


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58503 954f8c5b-7b00-dc11-b283-0030488c597c
cloth: Fix [#36224] Cloth Simulation Doesn't Work on Rearranging Modifiers

Don't return imediately when simulation has changed.
It's not needed and prevented proper initialization on startframe when
simulation changed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58504 954f8c5b-7b00-dc11-b283-0030488c597c
optimization: lazy initialize EditDerivedBMesh members vertexNos, polyNos.

also add polyCos array which cache's face centers, gives overall ~20% speedup to drawing on a high-poly mesh in face-editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58506 954f8c5b-7b00-dc11-b283-0030488c597c
optimization:
- halve the number of allocs in layerInterp_mdeformvert list creation.
- use direct loop access in emDM_copyLoopArray


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58508 954f8c5b-7b00-dc11-b283-0030488c597c
fix regression in 2.68 [#36240] Painting Undo Enable Face paint Crash


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58509 954f8c5b-7b00-dc11-b283-0030488c597c
Allow creation of mask nodes in compositor with drag&drop of mask datablocks

Also remove superfluous "deselect all" operation in drag&drop for images


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58511 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36248] Crash using factor input on color mix node.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58512 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision Surface
regression in 2.68


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58513 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround for crash in ocean modifier when size is zero (causes invalid array index/lookups).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58514 954f8c5b-7b00-dc11-b283-0030488c597c
hidden-wire draw option: always use the cage when masking out faces otherwise modifiers give odd results.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58515 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for [#34398] "«illegal operator» in Expression Controller" reported by Andrey Kashlak (andreymal)

The expressions system now supports the not operator on ints and floats.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58516 954f8c5b-7b00-dc11-b283-0030488c597c
optimization: only calculate the normals for passing into derivedMesh foreachMappedVert/foreachMappedFaceCenter when needed,
this means in editmode with wire draw, face and vertex normals don't have to be calculated at all.

in most cases the normals are not used so add a flag that makes calculating them only for functions that need them.
also fix face normal calculation for CDDM, was using quad calculation for ngons too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58517 954f8c5b-7b00-dc11-b283-0030488c597c
remove the pointer from BLI_bitmap's typedef, 
hides that an arg passed is really an array which may be modified by other functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58518 954f8c5b-7b00-dc11-b283-0030488c597c
use BLI_bitmap for crazyspace vertex tagging.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58519 954f8c5b-7b00-dc11-b283-0030488c597c
fix own regression, OpenGL render with 'New Window' display-mode was broken
need to re-assign after opening a new window.


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