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
BGE: For BL_Action, use the object's scene rather than the "active" scene, which can potentially cause problems with multiple scenes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54767 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Second fix for #34330 "Action Actuator "caching" the previous ran actions" reported by Dalai. Now the multiple layers should also be working. When doing fcurve/IPO animations, the controllers are cleared as soon as the action is done and must be setup again every time the action is played.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54769 954f8c5b-7b00-dc11-b283-0030488c597c
Install_deps script:
* Use OIIO 1.1.7, this removes the need for the ugly patch.
* Use official OSL 1.3.0 repo
* Print OSL path for scons

Tested on Ubuntu 12.10 x64.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54770 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Object color channels can now be animated separately without zeroing out the other channels. Problem reported by Dalai via IRC.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54772 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in the blenderplayer caused by r54727 (can't assume G.main is valid on load).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54773 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: bge - was converting float[] to MT_Vector's just to compare. use BLI_math instead.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54774 954f8c5b-7b00-dc11-b283-0030488c597c
add include for scons.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54775 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error using uninitialized draw mode with 'm_failsafe_storage' in the BGE.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54776 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Finally moving material IPOs to the 2.60 BGE animation system (BL_Action). It was kind of a fluke that they worked before.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54777 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for bug #34377 "Multi UV mesh's materials not backwards compatible and Odd UV Coord behavior" reported by Alex Mairs (ctbm). The problem was the unused texture slot was still trying to be used. Now unused texture slots' mappings are set to DISABLE so they don't mess up the rest of the conversion process.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54780 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: fix for uninitialized tangents


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54781 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: make editmode PASSATTRIB into static functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54782 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34378] GLSL materials using multiple UV layers fail in editmode
regression since BMesh merge.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54783 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: bge material conversion was creating STR_String just to check for empty string for no reason (empty string was assigned irrespective).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54784 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: confusingly written and named function for BGE materuial conversion: getImageFromMaterial() --> getMTexFromMaterial()


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

Fixed tooltip for checker-select, it works on the active item, not selected ones.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54786 954f8c5b-7b00-dc11-b283-0030488c597c
Missed instance of ThemeGeneric.back -> ThemeGradient.gradients.high_gradient

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

If you move (with F5) the properties and tools region in 3d viewport to the same side,
the mini-axis and text overlays were drawing in wrong place.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54789 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix in 2.66 release, irc submitted.

File with packed images crashes on load.

Do-versions now is copying Images, because texture "use alpha" has been removed...
However, it then also copied packaged images, which crashes for some reason.

For now I skip packed image copy, which keeps blender work. This versioning
code needs more checking though.




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