buildsystem cleanup: remove duplicate source & includes for scons,
add a check for duplicates in BlenderLib()m, if 0'd now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52194 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: with uv remove doubles, weld distance soft/hard ranges were wrong rename to "Remove Doubles UV" to avoid confusion with the mesh operator of the same name.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52196 954f8c5b-7b00-dc11-b283-0030488c597c
speedup to uv remove doubles.
- no need to copy the UV vectors, just point to them.
- calculate the midpoint once and copy rather then mid_v2_v2v2() on each UV.
- reduce the number of comparisons by only checking the remaining uv's in the nested loop.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52197 954f8c5b-7b00-dc11-b283-0030488c597c
each different remove doubles function used a different property name, use 'threshold'  for all now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52198 954f8c5b-7b00-dc11-b283-0030488c597c
add 'use_unselected' option to UV_OT_remove_doubles,
handy of you have a UV island that doesnt quite fit into its surrounding UV's - its a quick way to snap selected -> unselected UV's.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52199 954f8c5b-7b00-dc11-b283-0030488c597c
fix for the update issue reported in [#32452]

When blending shape key, opening the popup didnt execute anything - making it so pressing a button would update the result even if the value didnt change. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52200 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33171: Sculpt lag in recent builds

Issue was caused by own previous change in PBVH which in this case
lead to unneeded draw buffers rebuilding.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52201 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for oiio/ocio/boost in those scons config, else specifying a custom "root" path for those libs in user-config.py is useless!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52202 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33166: Wrong profile name in config.ocio causes crash

In this case we can not validate OCIO configuration and the only way
to fix such issues is to add NULL-pointer checks..

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52203 954f8c5b-7b00-dc11-b283-0030488c597c
remove ifdef'd bevel code, current bevel works better then the previous code.
reduce strlen check in texttool_suggest_add()
use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52204 954f8c5b-7b00-dc11-b283-0030488c597c
speedup bevel by tagging verts and edges to bevel, this avoids a loop over all bevel edges for each bevel vert (can use edges-of-vert instead)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52205 954f8c5b-7b00-dc11-b283-0030488c597c
use ghash for bevel verts, saves list lookups when getting a BMVert's BevVert


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52206 954f8c5b-7b00-dc11-b283-0030488c597c
use memarena for bevel allocs


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52207 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33169] Interface destroyed after Text Object Edit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52208 954f8c5b-7b00-dc11-b283-0030488c597c
avoid using goto's in previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52209 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles OSL: windows build fixes.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52211 954f8c5b-7b00-dc11-b283-0030488c597c
Map Range Node (tiles)
this node allows for more control for normalization of the mapped input range.

Made during BlenderPRO 2012 - Brasilia, Brazil :)
Idea and testing: Daniel Salazar
Implementation: yours truly
Reviewed by Lukas Toenne and Sergey Sharybin

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