Tweak allocation vars for linear space so black is converted
to black when using GLSL display transform.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55737 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34849: crash in operator search menu, due to brush stencil poll
function not checking NULL pointer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55738 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34759: cycles texture influence for particles not shown correct when switching
to a different texture slot.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55739 954f8c5b-7b00-dc11-b283-0030488c597c
Fix incorrect OS X warning message in console when using multisample antialiasing
about number of samples not matching the requested number.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55740 954f8c5b-7b00-dc11-b283-0030488c597c
remove workaround for [#34346], checked on applying this workaround for armatures too but it happens in more cases then I originally thought.
for now users of opensource Nouveau and ATI drivers can't use multiple windows, the bug needs to be fixed in the driver.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55743 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34847] Box selecting shape keys of a mask causes crash


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55744 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34850] "x" to clear ID prop fields is too close to the right border


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55745 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34825] Transparent background of Empty Images clips objects behind them away when Empty is not selected

allow 'Transparency' option to be used on empty-images.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55746 954f8c5b-7b00-dc11-b283-0030488c597c
use floats for transform snapping distance comparisons


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

 * deduplicated a bunch of code and moved it into outliner_dropzone_find()
 * moved all the per-dropzone checks into the poll functions
 * one functional change, disable drop parenting on self & self->parent

The basic assumption: if poll() == true then outliner_dropzone_find() will return a valid TreeElement


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55748 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for missing integer 'type' of the virtual extension socket in group nodes. This could lead to crash in node groups when trying to undefined stack values of the extension socket. type just needs to be set to SOCK_CUSTOM==-1, so the BI execution knows not to look for a stack entry.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55749 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34838, Can not append mesh from 2.5 (Crash in Nodes). The compatibility code for node group socket indices was assuming the new group node types even for 2.56.2 files, before these node groups had actually been converted ... Needs to use old way of identifying node group links (fromnode/tonode == NULL) instead of input/output node types.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55750 954f8c5b-7b00-dc11-b283-0030488c597c
Fix/Workaround #34854: render buffer update writes to wrong layer

Was caused by recent change in image_buffer_rect_update which
was writing data to ibuf-rect_float. Apparently, this buffer
could point to different render layer than came from RenderResult.

Made quick fix for this, which ends up in skipping float buffer
update in image_buffer_rect_update and skipping GLSL when image
has both byte and float buffers.

This will bring speed down a bit, but slower blender is better
than broken blender.

Proper fix will arrive later this week.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55751 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33628, Segmentation fault after pasting a closed group of nodes into an open group. Finally now there is a proper check for pasting nodes into groups. It uses the poll_instance callback of node types to determine if a node can be added into a specific node tree. Currently this is only implemented for group nodes and does a recursive check to avoid pasting a node group into itself (on any level, also nested groups).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55752 954f8c5b-7b00-dc11-b283-0030488c597c
pass snap arguments so the ruler doesn't have to temp overwrite scene vars.
also expose snapObjectsRayEx() for more convenient ray-casting about the scene.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55753 954f8c5b-7b00-dc11-b283-0030488c597c
new ruler option to be able to interactively measure surface thichness as you drag the ruler about.
Request from Bart Veldhuizen.

Access with Shift+Drag


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55754 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use more (blender) conventional naming for group functions.
also change dump_rna2xml.py to dump bpy.data by default.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55755 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for old compatibility issue: 2.59.2 do_versions was not handling all local node trees (world and lamp missing).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55756 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34856: crash passing an object rather than a mesh to bpy.data.mesh.remove(),
this should give an error message but it didn't.

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