minor cleanup to ui_get_but_vectorf / ui_set_but_vectorf, change the vector with one function call if its size 3.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53222 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like:

if bge.logic.joysticks[0]:
    activate_player_one()

if bge.logic.joysticks[1]:
    activate_player_two()

etc..

The interface exposed by SCA_PythonJoystick is very similar to the joystick logic brick except for one key difference: axis values are normalized to a -1.0 to 1.0 range instead of -32767 to 32767, which is what the logic brick exposed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53223 954f8c5b-7b00-dc11-b283-0030488c597c
correct ed_view3d_project__internal() was unnecessarily casting (float -> short -> float).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53224 954f8c5b-7b00-dc11-b283-0030488c597c
DDS compressed textures now make use of the anisotropic filtering setting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53225 954f8c5b-7b00-dc11-b283-0030488c597c
patches from fedora:
blender-2.64-64bit.patch
blender-2.64a-big-endian.patch
by Jochen@herr-schmitt.de


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53226 954f8c5b-7b00-dc11-b283-0030488c597c
fix own regression in 2.65 [#33643] Rotation does not work at certain zoom level

caused by not projecting points behind the perspective view,
even though this worked in 2.64 the values were flipped (rotating direction was reversed and the center point was flipped).

added V3D_PROJ_TEST_CLIP_NEAR, when omitted ED_view3d_project_*** will project points from behind a perspective view plane.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53227 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#33623] UI for Factored Polynomial Generator FModifiers drawing
incorrectly

* Plus signs were used between factors instead of multiplication. These now use
the times symbol
* Fixed alignment problem for last factor being more spread out


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53228 954f8c5b-7b00-dc11-b283-0030488c597c
replace MIN/MAX 3,4 with inline functions


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53229 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#33623] Missing labels in UI for Expanded Polynomial FModifier

Fix for second issue in the UI for this FModifier, where the "x" would not be
shown for order=1 where DPI >= 88 and Text AA is off, as the label sizes used
were too small.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53230 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup - Replacing 0/1 with boolean constants


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53231 954f8c5b-7b00-dc11-b283-0030488c597c
fix own error in bmesh/openmp unhiding, set BM_OMP_LIMIT to 0 so we can spot these cases more easily (will change before release).


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

* "ad" -> "adt": use proper var names for AnimData
* Replacing some flattened loops with the cleaner for-loop syntax


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53233 954f8c5b-7b00-dc11-b283-0030488c597c
speedup for face tessellation:
- quads, tris now use direct pointer access rather then iterators.
- for ngons also avoid iterator, just loop over the loops.

also minor change, use floorf rather then floor for ED_view3d_project_short_ex, ED_view3d_project_int_ex


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53234 954f8c5b-7b00-dc11-b283-0030488c597c
minor bmesh improvements
- use 2 omp sections for vert -> (edge, face) selection flushing.
- dont use face-loop iterator for cddm_from_bmesh_ex conversion to give some speedup (some modifiers use this).
- use float(*)[3] for functions that return coords.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53235 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33640: Blender crashes when I click on "Connect Hair" in "Particles" pannel

Issue was caused by disabled particle system modifier, now connect hair
will check on that and give an error message if modifier is disabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53237 954f8c5b-7b00-dc11-b283-0030488c597c
Buildbot: disable Jack for now, it doesn't work when linked statically

No easy build configuration fix for this, need to be switched to more
like a plugin system to support jack.

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

Material Texture blend modes Screen, Overlay and Multiply didn't respect
the alpha for textures... an error I could trace back to 2004 even.

Obviously the fix should be done, but it might change the appearance of
renders somewhat. Will keep an eye open if this is worth ugly 
version-patching.

Now: image textures with alpha, will only apply the blend modes
respecting the alpha values.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53239 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles aliasing warnings caused by motion blur transforms.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53240 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: add some extra CUDA nvcc paths for runtime compile, might help for #33622.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53241 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: merge some changes from a local branch to bring network rendering a bit
more up to date, still nowhere near working though, but might as well commit this
in case someone else is interested in working on it.

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