Fix #34359: 2.66 crashes when using output node

16bit PNG and Jpeg2K exporters were not aware of the simple
fact that float buffer could have only 3 or 1 channels.

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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54747 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34351: Displacement map Bake margin does not work

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

SSBA seemed to be working OK last time i've checked it
with MSVC and optimization enabled.

Also, we'll likely replace it with own BA soon, which
works fine with MSVC anyway.

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

Highlight background depending on number of tracks existing on frame.

This is not so much mathematically accurate displaying where things
shall be improved, but it's nice feedback about which frames better
be reviewed.

Bad frames are tracks < 8, highlighted with red.
OK-ish frame  are 8 <= tracks < 16, highlighted with yellow.

Could be some artifacts with color region start/end, this is a bit
unclear what exactly expected to be highlighted -- frames are
displayed as dots, but in fact they're quite noticeable segments.

---
svn merge -r54572:54573 ^/branches/soc-2011-tomato



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54750 954f8c5b-7b00-dc11-b283-0030488c597c
Simple preset function for setting common node sizes based on enum instead of explicit numbers.
Most nodes use the default size now and don't need explicit function calls. Most remaining nodes can also use the preset variant instead of explicit size values, these are only needed for a few special nodes.
Thanks to Sebastian König for suggesting this and doing the monkey work of changing node definitions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54752 954f8c5b-7b00-dc11-b283-0030488c597c
remove 'register' from drag-toggle operator (so it doesn't show in the redo panel).
update credits script.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54753 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#34356] Inputs list in file output doesn't appear properly.

* This made File Output Node more or less useless in the 2.66 release, as the list did not appear. 
Issue caused in r53355.

Should be back ported to "a" release. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54754 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34103] Add explanatory comments to dna_genfile.[ch]
from Lawrence D'Oliveiro (ldo)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54755 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34103] - listbase.patch, insertlinkbefore.patch
from Lawrence D'Oliveiro (ldo) 


notes from tracker:
use bool for return type from BLI_remlink_safe, necessitating including BLI_utildefines.h in BLI_listbase.h
get rid of duplicate BLI_insertlink, use BLI_insertlinkafter instead.

A few places which were using BLI_insertlinkafter (actually BLI_insertlink), when it would be simpler to use BLI_insertlinkbefore instead.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54756 954f8c5b-7b00-dc11-b283-0030488c597c
game engine: Revert to using regular gimpact for mesh shapes

This reverts part of r53019.
While the compound shape trick works well in some cases, overall it's
much slower and even causes crashes under certain conditions.

We could make this and option and fix the crashes, but it's better to
implement convex decomposition anyway so just reverting for now.

Fixes [#34353] Ray cast on Triangle mesh bounded Rigid Body Object causes blender crash to desktop without error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54757 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for building without python.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54758 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for windows size on win32

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54759 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34357: image editor scope and clip editor track preview did not resize
properly with different DPI settings.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54760 954f8c5b-7b00-dc11-b283-0030488c597c
Applying patch #33709 for dead keys on windows.
Thanks Harley Acheson!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54761 954f8c5b-7b00-dc11-b283-0030488c597c
Workaround for compilation error introduced in r54755

Scons used to fail because of couple of reasons:

- CMake does have WITH_DNA_GHASH enabled, Scons not
  Which is a good question why?!
- This makes Cmake including BLI_utildefines in dna_genfile.c,
  but scons missed this include
- This damn "bool" thing requires BLI_utildefines

And last question here is why would we want to use bool here =\
It's just always ends up in headache without any visible benefit
of using it.

Well, at least now svn shall be compilable again..

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54762 954f8c5b-7b00-dc11-b283-0030488c597c
fixing typo in include (report and patch by Jochen Schmitt)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54763 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for bug #34219 "Webcam support under Linux in Standalone broken" reported by Thomas Achtner (offtools).

No one bothered to update the player for ffmpeg changes made in August 2012. This meant the player was no longer calling avdevice_register_all(), and  ffmpeg would fail to open web cam streams.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54764 954f8c5b-7b00-dc11-b283-0030488c597c
WITH_PYTHON_FRAMEWORK cmake option for OSX
This option allow Blender to be linked against the Framework python
It's useful if you want to have blenderplayer and bpy in the same application and need to avoid PyThread problems.

patch reviewed by Jens Verwiebe before 2.66. He may want to change something though.
(also small: I changed:
/Library/Frameworks/Python.framework/Versions//python
by
/Library/Frameworks/Python.framework/Versions//Python
as the latter seems to be the norm)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54765 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: (partial?) fix for #34330 "Action Actuator "caching" the previous ran actions" reported by Dalai. The test file now works if all of the actions are using the same layer, but multiple layers can still cause problems. However, I am unsure as to what the "correct" behavior should be with multiple layers. They should probably blend somehow...

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