units: display 0.5mm rather then 500um, nicer when dealing with very small sizes but not microscopic.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57149 954f8c5b-7b00-dc11-b283-0030488c597c
tweak to edge-loop select, so loop selecting a side of a subdivided triangle selects all edges along one side.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57150 954f8c5b-7b00-dc11-b283-0030488c597c
correct cast to uintptr_t for smallhash use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57151 954f8c5b-7b00-dc11-b283-0030488c597c
improve edgering subdivide curvature calculations (calculate length projected onto the normal plane).
also correct recely added asserts.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57152 954f8c5b-7b00-dc11-b283-0030488c597c
Made text datablock properties 'is_in_memory' and 'is_dirty' editable in Python.

The rationale of this revision is to provide an easy way to make text datablocks internal
from within Python (i.e., by setting these properties to True and the 'filepath' property
to empty string).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57153 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35567: Shift+LMB doesn't toggle selection when using the Maya preset

Also added back RMB to set 3d cursor position.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57154 954f8c5b-7b00-dc11-b283-0030488c597c
Follow up to previous commit

Made Ctrl-LMB clear selection from the object.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57155 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35581: Crash when using Track Refine

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57156 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35497: rendering preview range gives wrong duration

Was a mistake in PTS calculation when using opengl animation render.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57157 954f8c5b-7b00-dc11-b283-0030488c597c
Fix to actually disable DEBUG_BACKTRACE by default.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57158 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35578] New bridge tool; bowtie crossing when destination edges form one half of an 'X'


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57159 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles OpenCL: keep the opencl context and program around for quicker rendering
the second time, as for example Intel CPU startup time is 9 seconds.

* Adds an cache for contexts and programs for each platform and device pair,
  which also ensure now no two threads try to compile and write the binary cache
  file at the same time.
* Change clFinish to clFlush so we don't block until the result is done, instead
  it will block at the moment we copy back memory.
* Fix error in Cycles time_sleep implementation, does not affect any active code
  though.
* Adds some (disabled) debugging code in the task scheduler.

Patch #35559 by Doug Gale.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57160 954f8c5b-7b00-dc11-b283-0030488c597c
Stupid typo, reported by Eugenio Pignataro on ML, thx.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57161 954f8c5b-7b00-dc11-b283-0030488c597c
previous fix for #35578 didnt work right, check direction of the open edge loop too.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57164 954f8c5b-7b00-dc11-b283-0030488c597c
editmesh display user request, keep the edge lengths within the view bounds (so you can see edge length even when zoomed in)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57165 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for r56965 by Tamito:
* Panorama Camera was not working for Blender Internal and Cycles anymore.

Code checked for Freestyle render layer flag, but as the flag is enabled per default, it broke Panorama camera in all cases. It made no sense to check this on a render layer basis anyway... check if Freestyle is enabled in general now instead.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57166 954f8c5b-7b00-dc11-b283-0030488c597c
* Small syntax correct for last commit, sorry  4am here. ;) 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57167 954f8c5b-7b00-dc11-b283-0030488c597c
Fix windows / msvc build error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57168 954f8c5b-7b00-dc11-b283-0030488c597c
Fix another windows / msvc build error.

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