style cleanup: also correct doc example for 'foreach_get/set'


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54255 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primitives

When using triangle primitives this fix enables 'closed tip'. 

UVs and vertex colours are added when using triangle primitives for hair.

Two new preset modes have also been included to allow easy access to curves and triangle planes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54256 954f8c5b-7b00-dc11-b283-0030488c597c
add missing break in direct_link_constraints, CONSTRAINT_SPACEONCE flag was getting set to CONSTRAINT_TYPE_KINEMATIC.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54258 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: comment format


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54260 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix: "Extend" transform tool would leave dangling "temp meta strips" if none
of those strips occurred on the same side of CFRA indicator as the mouse


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54261 954f8c5b-7b00-dc11-b283-0030488c597c
triangulate was checking existance of edges unnecessarily, splitting face already does this.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54262 954f8c5b-7b00-dc11-b283-0030488c597c
code style checker now tests for: 'SomeText{' (no space before {).
also removed duplicate break;, probably error from merge.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54263 954f8c5b-7b00-dc11-b283-0030488c597c
fix for glitch drawing file selector dividers (would draw apart or on top of each other depending on the view)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54264 954f8c5b-7b00-dc11-b283-0030488c597c
Remove loose edges created during undo in dynamic-topology sculpt mode

Fixes [#34043] "Dyntopo: noise appear during sculpting (parasite edges)"
projects.blender.org/tracker/index.php?func=detail&aid=34043&group_id=9&atid=498

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54265 954f8c5b-7b00-dc11-b283-0030488c597c
improve BMesh api use from r54265, no need to do edge lookups from the faces verts since the face stores these already.

also remove ScrArea.cursor, historic runtime variable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54266 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34073] Combined EdgeLoop slides weirdly on even try

concave check on co-linear edges could fail, avoid by using the loop-direction + face normal.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54267 954f8c5b-7b00-dc11-b283-0030488c597c
add dist_to_line_v3() for completeness, (had dist_to_line_v2 already)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54268 954f8c5b-7b00-dc11-b283-0030488c597c
improve edge slide with ngon's, distance calculation was average edge length.
now use the slide vector to find opposite ngon edge which sets the slide destination.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54269 954f8c5b-7b00-dc11-b283-0030488c597c
when triangulating ngons, use beauty option to rotate edges. gives much nicer results and means you can preserve original edges without triangulating ngons one at a time


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54270 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in own recent change, sculpt triangulate was done on a bmesh with uninitialized faces normals,
add warning that BM_mesh_bm_from_me() dosn't calculate face normals.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54271 954f8c5b-7b00-dc11-b283-0030488c597c
fix BM_loop_calc_face_tangent for concave face corners, caused a bug in wire-frame operator.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54272 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #34090

Animation of render output size is not supported, not for render borders either.
This commit makes the border rna properties disable animation support.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54273 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup & some spelling


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54274 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34093] Metastrips don't behave correctly with alt+leftarrow


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