Fix #32209: Autosave ignores multires sculpting

Use a bit different fix, which gets active scene from context and
uses this scene to figure out active object instead of itterating
through all the objects.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49438 954f8c5b-7b00-dc11-b283-0030488c597c
Do not highlight non-selected active node with active outline

This would match other areas in Blender.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49439 954f8c5b-7b00-dc11-b283-0030488c597c
Add type RNA property to special nodes (e.g. frame)

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49442 954f8c5b-7b00-dc11-b283-0030488c597c
misc mask fixes
- image space used wrong notifiers.
- image notifier now checks for mask mode before listening to mask edits.
- mask keyframes now draw in the image space.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49443 954f8c5b-7b00-dc11-b283-0030488c597c
Docs / Templates:
* Added a ui_panel template with more complex layouts. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49444 954f8c5b-7b00-dc11-b283-0030488c597c
- disable mask drawing in the sequencer, this isn't usable yet and likely wont be working in release.
- use define for max mask mblur samples, increase to 64 max.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49445 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32205: Holdout shader + transparent background stays black with Alpha = 1

It was read of initialized memory around holdout_weight in cases when
holdout material is used. Seems that it should be assigned to result
of shader_holdout_eval here.

If Brecht could double check this it'll be great.

This could potentially fix #32224: Holdout Error with CUDA Cycles Render

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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49447 954f8c5b-7b00-dc11-b283-0030488c597c
make node select_all consistent with other select operators, also add Ctrl+I, select inverse to node space.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49448 954f8c5b-7b00-dc11-b283-0030488c597c
mask selection invert wasnt working.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49449 954f8c5b-7b00-dc11-b283-0030488c597c
Tie compositor will now update render result when changing node setup

Issue was caused by the way how render result was acquiring -- pointer
to render data was used to find needed render descriptor. It's not
reliable since render contains copy of scene's render data, not pointer
to this data.

Use node scene's id name for render result acquiring, the same way
as it was done in old compositor system.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49450 954f8c5b-7b00-dc11-b283-0030488c597c
fix crash when polling image sample outside image space.

also remove historic comment which isnt helpful.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49453 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash in 'Skin Armature Create' when the mesh doesnt have any skin data.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49454 954f8c5b-7b00-dc11-b283-0030488c597c
Replace scene pointer with scene name to prevent possible misusages
of scene in node in future.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49455 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: Remove unused includes of DNA_scene_types.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49456 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: remove some more unused includes of DNA_scene_types

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49457 954f8c5b-7b00-dc11-b283-0030488c597c
fix crash in sorting mesh elements when called without a viewport.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49459 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49460 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: silence some -Wnarrowing warnings from C++11

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