stule cleanup: edits for files which were recently cleaned up.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45349 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: multi-line if's & whitespace.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45350 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: BM_select_mode_set had loops over verts and edges but did nothing (set 0 flags), turns out setting any flags isnt needed since flushing manages this so '#if 0' for now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45351 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless but incorrect.
replace these cases with iterator macro.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45352 954f8c5b-7b00-dc11-b283-0030488c597c
fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,

also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45353 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30772] No more than two subdivions give correct result when adding an icosphere

bug was introduced in r45297, which inadvertently broke testing for multiple flags at once.

added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45354 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#30779] Multiselect mode cause inconsistent selection growing

from Francisco De La Cruz (xercesblue)

The test to use faces was incorrect since mixed vertex and edge mode would be treated as faces.

made own minor change.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45355 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#30780] Transform operator leak in aborted edge slide mode
from Francisco De La Cruz (xercesblue)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45356 954f8c5b-7b00-dc11-b283-0030488c597c
partial fix [#30777] python console utf-8 problem

backspace/del now doesn't split up multi-byte characters.
Ctlr+Backspace/Del now work for deleting whole words.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45357 954f8c5b-7b00-dc11-b283-0030488c597c
r45338 added multithreaded OpenEXR loading. Path to pthread was missing.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45358 954f8c5b-7b00-dc11-b283-0030488c597c
BM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled by selection functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45359 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45360 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround an error related to [#30735]

when a single face in a loop is hidden, loop cut will subdivide edges on both sides.
creating an edge between the hidden faces.

without this workaround the edge ends up hidden and selected.

added a check in BM_mesh_validate() for hidden/selected elements.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45361 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45362 954f8c5b-7b00-dc11-b283-0030488c597c
Fixed mistake made in threaded EXR commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45364 954f8c5b-7b00-dc11-b283-0030488c597c
rna/py api - rename layers with polygon prefix, since there are edge and vertex layers too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45365 954f8c5b-7b00-dc11-b283-0030488c597c
missed these last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45366 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30608] Regression: BMesh merge broke customdata int/float/string layers


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45367 954f8c5b-7b00-dc11-b283-0030488c597c
Make sure Multilayer EXR from other apps are read in as multilayer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45368 954f8c5b-7b00-dc11-b283-0030488c597c
avoid confusion with image 'Edit Externally' operator, disallow editing of packed images, resolves bug [#30506].


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