code cleanup: changing the INT define to an enum conflicts with INT typedef on windows, use more verbose names for button pointer types. also removed some redundant flags from buttons.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50540 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32537] Inconsistent behaviour of Texture Baker

feedback looks wen't being detected in some cases causing very confusing behavior.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50541 954f8c5b-7b00-dc11-b283-0030488c597c
fix memory leak when baking feedback loop detected.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50542 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31456] Extreme lag editing meshes

running BM_CHECK_ELEMENT was taking over 75% of the time to subdivide a mesh, since this only reports errors, and is so slow - only run this on non-release builds.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50543 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, that checks for the vertex not matching either of the edges verts.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50544 954f8c5b-7b00-dc11-b283-0030488c597c
add clarification, without this the tool reads as if it makes the radius of each selected vertex equal.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50545 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32350] F11 play animation crash when UI language is not "Default"

this is a bug in boost 1.46, can remove this env var override when this version of boost is no longer supported.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50546 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30324] VSE: Right-Click does not select directory


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50548 954f8c5b-7b00-dc11-b283-0030488c597c
add note that clip start is for perspective view only.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50549 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles UI:
* Non-Progressive UI couldn't be displayed if the device was set to GPU, but User Preferences Device was NULL. (for example when opening .blend file on another computer without GPU capabilities)

* Fix missing update in the Properties editor, when changing compute_device.

This fixes [#32115] OSX and cycles no non-progessive sample input settings appearing in interface.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50550 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31019] [Minor] Freshly added nodes aren't getting undo push

also noticed ED_undo_push was checking USER_GLOBALUNDO unnecessarily


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50551 954f8c5b-7b00-dc11-b283-0030488c597c
Attempted fix for #32415: tighten up cycles opencl initialization checks to try to
avoid crashes. Don't think these should be needed but maybe it helps.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50552 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32031: particle distribution on degenerate faces could give NaN values,
which in this case caused NaN values in render lighting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50553 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32543: screw modifier with smooth shading disabled still had one segment
smooth shaded.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50554 954f8c5b-7b00-dc11-b283-0030488c597c
#31682: partial fix (the export): Avoid to copy exported image into itself

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50556 954f8c5b-7b00-dc11-b283-0030488c597c
#31682: corrected some minor typos in the comment

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50557 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32338: particle instance modifier did not work well when the mesh had only
vertices. Previously it would hide particles by creating invalid faces, but this
didn't make the vertices actually disappear.

Also found that it could generated corrupt geometry for cases with faces, which
gave wrong subsurf and could crash in edit mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50558 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: do not call polylist export for objects with no polygons (avoid a missleading warning message)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50559 954f8c5b-7b00-dc11-b283-0030488c597c
fix for missing NULL check in own recent commit, thanks Gaia for pointing this out.


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