fix for view-all operator not taking the view-angle into account.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52670 954f8c5b-7b00-dc11-b283-0030488c597c
make previous commit work when the camera is locked to the view (in that case use the camera lens, not the viewport lens value).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52671 954f8c5b-7b00-dc11-b283-0030488c597c
make setting local view take the view lens int account.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52672 954f8c5b-7b00-dc11-b283-0030488c597c
fix for r51636 - making the lens work in ortho mode made view-all and local-view operators give bad zoom levels.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52673 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33347: cycles OSL crash connecting string to vector socket.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52674 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33351: cycles OSL not loading grayscale images as RGB correctly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52675 954f8c5b-7b00-dc11-b283-0030488c597c
fix for another glitch caused by r51636, setting the camera view with quad-view enabled would zoom all non camera views.

Theres no need to draw other views so skip that.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52676 954f8c5b-7b00-dc11-b283-0030488c597c
add margin to view fitting view-all/local-view (wasn't obvious with the models I was testing with).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52677 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
and brick code so that it can be uninlined.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52678 954f8c5b-7b00-dc11-b283-0030488c597c
Compositor should never add notifiers by himself, notifiers should be added
from main thread using job update callback.

Added new execution-time callback to bNodeTree which marks job to be updated.

The code here could be a bit not so obvious because in some cases job update
callback need to merge local tree, but it's only needed for old compositor
system which is gonna to be removed soon, so decided not to bother with
cleanup now. Removing old compositor system will also allow to drop stats_draw
callback from bNodeTree.

This should fix following bugs:

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52679 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33353: Smoke color problems with adaptive domain

High resolution cache didn't always read all written data fields which caused colors to get messed up.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52680 954f8c5b-7b00-dc11-b283-0030488c597c
Final render wouldn't set compositor's update_draw callback, so added NULL check

Seems no extra notifiers should be added here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52681 954f8c5b-7b00-dc11-b283-0030488c597c
Normalize node: clamp infinities to 0/1 (depending on sign)

The same behavior was in old compositor system and it makes more sense
when you're normalizing Z buffer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52682 954f8c5b-7b00-dc11-b283-0030488c597c
Map Range: added the same infinity clamping for Z buffer as normalize node.

Think should be pretty much harmless since if this node was used for buffers
with infinities it already showed artifacts. Now it should be more useful for
mapping Z buffers.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52683 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33357: Strip modificator Bright/Contrast doesn't work correct for byte images

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52684 954f8c5b-7b00-dc11-b283-0030488c597c
fix own mistake in recent commit - entering editmode with a shape key crashed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52685 954f8c5b-7b00-dc11-b283-0030488c597c
Removed unused register_ lines from for and while loop nodes. These nodes were already commented out and removed in r51576.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52686 954f8c5b-7b00-dc11-b283-0030488c597c
fix for another error in my own recent commit, beauty fill crashed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52687 954f8c5b-7b00-dc11-b283-0030488c597c
fix for various asserts running operator tests - not likely any of these would cause real user bugs though.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52688 954f8c5b-7b00-dc11-b283-0030488c597c
Fix transfer weight tool enum properties all showing question mark icons,
these should have no icons.

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