simple optimization for library loading, just reduce pointer indirection and use unsigned int's, gives up to 2x overall speedup for loading some libraries.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52056 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33084: lock camera to view + view smooth disabled incorrectly moved the
camera when going into camera view (bug in revision 51256).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52057 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #31080: missing UV editor redraw after edge slide with correct UVs.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52058 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Committing patch [#32697] "New BGE gravity API" by HG1.

This patch adds a gravity attribute to KX_Scene.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52059 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for movie distortion node

- Somehow this node was using nearest interpolation which seems have been
  passed from compositor node. It was using b-spline interpolation with
  old compositor implementation. Now forced this node to use bilinear
  interpolation, which should be close enough.

- Operation should be marked as complex it seems, otherwise area of
  interest wouldn't make any affect on it's behavior.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52060 954f8c5b-7b00-dc11-b283-0030488c597c
Updated stubs to make blender player compilable

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52061 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for wrong usage of RE_engine_free

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52062 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: some warnings and formatting for PyMethodDef's in the BGE.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52063 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33132: Incorrect render session update when using persistent images issue and changing resolution

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52064 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: correction to how device of lists is exposed to blender

compute_device_list is using static vector of device information which
had pointers (identifier and name) to values from device information
structures. That structures are also stored in static vector and being
refreshed every 5 seconds.

The issue is, as soon as device information is being updated, pointers
in vector from compute_device_list became incorrect.

Seems it was the reason of issues with sudden switching from CUDA to
OpenCL on my desktop and from CUDA to CPU on my laptop, It was also
seems to be making persistent images behaves instable.

Made it so device identifier and name are copied from device info
to structures used by RNA (CCLDeviceInfo).

Alternative could be avoid cacheing CCLDeviceInfo and always use actual
list of device information by RNA. It shouldn't be so much slow.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52065 954f8c5b-7b00-dc11-b283-0030488c597c
add 2 new utility functions to the BGE mesh py api.

  mesh.transform(matid, matrix)
  mesh.transform_uv(matid, matrix, uv_index=-1))


much more efficient then looping over verts in python to transform them.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52066 954f8c5b-7b00-dc11-b283-0030488c597c
committed by accident last commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52067 954f8c5b-7b00-dc11-b283-0030488c597c
add argument so recent bge function mesh.transform_uv() so you can optionally transform between UV1 / UV2


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52068 954f8c5b-7b00-dc11-b283-0030488c597c
Added UI support to set OpenGL MultiSample.

Code to support it was lying around for long already, but not controlled by UI nicely.
Now you have in user preferences "System" tab an option to set it. 

NOTE:
- it only works saving as User startup.blend, and restart Blender.
- your system should support it, no check for it is visible in UI
- tested only on iMac OSX 10.7

Screenshot:
http://www.blender.org/bf/chinchilla.blend.png




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52069 954f8c5b-7b00-dc11-b283-0030488c597c
Removed test call to set MultiSample - forgot to delete.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52070 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: rework the optional frameworks handling more osx-like, make jack weak-linked

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52071 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/ndof: test link whole framework weak rather than single functions to fix clang compile issue

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52072 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: little cleanup in ghost

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52073 954f8c5b-7b00-dc11-b283-0030488c597c
Bevel: patch from Thomas Beck fixes numeric offset input and adds wheel input for number of segments.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52074 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33135: cycles object info random number not working anymore.

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