mist line can now be used for camera selection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55479 954f8c5b-7b00-dc11-b283-0030488c597c
python api: add functionality to remove vertex color layers.
note: that this intentionally removes check to exit vpaint mode when a vertex color layer is removed,
	  since being in vertex-paint mode without a vertex color layer is supported.

also minor change to drawing camera limits while picking from previous commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55480 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for Render Layers node, reported by Jason van Gumster (Fweeb) on IRC. The render layer operations need their RenderData pointer set. This was done for all connected output operations, but not for the preview operation which uses the image color layer. In case the image output is unconnected this leads to NULL pointer access.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55481 954f8c5b-7b00-dc11-b283-0030488c597c
python api: add functionality to remove uv-texture layers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55482 954f8c5b-7b00-dc11-b283-0030488c597c
BGE bugfix: [#34550] getVertexArrayLength changed in 2.66

This bug was producing way more geometry than we need. Potentially
memory saver (or performance even) bugfix.

Bottomline is:
We need to initialize the UVs otherwise vertex comparison fails ...
Ideally MoTo should take care of initializing MT_Point2
(note in Windows that seems to be fine, but it's safer to not rely on that)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55483 954f8c5b-7b00-dc11-b283-0030488c597c
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