scons: fix broken compile since last int -> bool cleanup

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55485 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: conversion from blender to BGE was unnecessarily confusing in checking weather to use vertex colors,
move check to function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55486 954f8c5b-7b00-dc11-b283-0030488c597c
BGE bugfix for [#34505] Vertex Colors not working in the BGE (for custom GLSL shaders) when multitexture and no material

Bug introduced on rev.36723

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55487 954f8c5b-7b00-dc11-b283-0030488c597c
Graph Editor: Draw indicators on the active Driver F-Curve which show the
relationship between the result of driver evaluation (NKEY region stuff) and the
end result applied to the driven properties.

Example:
http://www.pasteall.org/pic/47687




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55489 954f8c5b-7b00-dc11-b283-0030488c597c
Tweak to previous commit - make range check less strict so that indicators don't
flicker off so easily when target moves off screen


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55490 954f8c5b-7b00-dc11-b283-0030488c597c
fix error with merge operator not handing error cases properly (errors wouldn't cancel the operator as they should).
was mixing up OPERATOR_CANCELLED with 0.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55491 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use booleans and const's for operator vars.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55492 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use NULL rather then 0 for pointers, and make vars static where possible.
also found unintentionally defined enum/struct variables that where only meant to be defining the type.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55493 954f8c5b-7b00-dc11-b283-0030488c597c
correct enums which were in fact variables defined in headers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55494 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for compositor node preview sizes: Use the render output aspect ratio for estimating the required preview rect size instead of assuming a square, to avoid wasted space. Note that this does not work for newly added nodes until they have first been evaluated and a preview image has been generated (same behavior as before pynodes merge and associated preview changes).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55496 954f8c5b-7b00-dc11-b283-0030488c597c
Attempt to fix windows building with scons



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55497 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34689: Multilayer EXRs don't load correctly if one layer is named and the other is not

OpenEXR's ChannelList.layers() will not include empty layer names,
which caused the issue. Made it so if there's one non-empty layer
name, check for empty names happens.

If there's empty layer name in case one non-empty layer name, file
will be considered multilayer now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55498 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34720: Sculpt mode T panel has no texture preview

Cycles was not able to render texture icons, same actually
goes to lux. Now made it so blender internal is used to render
icons for textures.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55499 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34667: trail_count option missing for Particle (emitter) System Render Panel "Path" UI

Patch from Josh Wedlake, many thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55500 954f8c5b-7b00-dc11-b283-0030488c597c
Enable previews for inactive compo output and viewer nodes.

This keeps old behavior and could be nice. However, it'll
make compositing slower  (doing final compo after editing
tree). This is easy to hide preview in this case, and also
i hope to implement percentage rendering soon.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55501 954f8c5b-7b00-dc11-b283-0030488c597c
Node preview merge function now has an additional option "remove_old", which could be used if previous previews should be retained after recalculating (not used currently, old previews are dropped entirely for now, because it could be confusing).

Also moved the sync and merge for previews into the respective tree callbacks for consistency. This way the handling of previews can be changed for each tree type individually if necessary.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55502 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #34726

Appending a group (which adds all object members to scene), didn't follow the
setting "In active layer".

One note: only the scene layers are copied over, not local view3d layers.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55503 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #34405

On opening a text editor for first time, and use search (CTRL+F) the scrollers were not
correct initialized, so the view would jump a bit on redraw.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55504 954f8c5b-7b00-dc11-b283-0030488c597c
Nodes editor,
Draw an extra outline on hidden nodes that have custom colors, otherwise you can't recognize them unless you unhide.

Example: http://pasteall.org/pic/show.php?id=42359



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55505 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for the use_hidden_preview setting in SpaceNode. The application of this flag to new nodes got lost during merges at some point. Also is now in the python node.add_node operator as well as the C function.

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