Support for type callbacks on IDProperty pointers. Before this the type of the type of a PropertyGroup pointer would be fixed to the default RNA type. This is fine in most cases, but it may be necessary to define the property group subtype dynamically in some cases. Now the returned RNA pointer uses the typef callback if it exists.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52405 954f8c5b-7b00-dc11-b283-0030488c597c
Motion tracking: dump mask image when dump images is enabled

This is pure development option which is enabled by defining DUMP_FAILURE
or DUMP_ALWAYS libmv-capi.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52406 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh operator api:
avoid per vert/edge/face string lookups in BMO_slot_map_* functions --- used in array modifier, subdivide, remove doubles and other tools.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52407 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#33239] Cycles OSL : Environment Texture Rotation Incorrect:
* Projection mappings were not implemented yet. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52408 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: comment unused members of bmesh operator slots and some osl style edits.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52409 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33243: cycles CUDA going missing sometimes, disabled the new code now that
can detect if a device becomes available while Blender runs, appears to be
unreliable for some reason.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52410 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles OSL missing support for texture mapping paramaters found in texture
properties tab.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52411 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33177: OSL render difference with missing textures and HSV nodes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52412 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33227: custom keymap syncing didn't work well always when adding/removing
properties from operator, now it compares at RNA rather than ID property level,
which is more accurate.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52413 954f8c5b-7b00-dc11-b283-0030488c597c
fix for missing bmesh operator flags when selecting linked (caused by own recent commits)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52414 954f8c5b-7b00-dc11-b283-0030488c597c
Debug value in degrees (under parenthesis) for rotation driver variables
Specifically the Rotational Difference and XYZ Rotation Transform Channel

Feature requested during BlenderPRO 2012 (Brazilian Blender Conference)
and coded during my flight back :)

Reviewed by Joshua Leung(Aligorith)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52415 954f8c5b-7b00-dc11-b283-0030488c597c
py api: BMesh.from_object() was using the derivedFinal, which isn't always available - or may not have UV data if in the wireframe view.

update the function to calculate the derived mesh with bmesh data-mask each time.

resolves bug [#33205] Bmesh "from_object" gives "no usable mesh data".

also found 'mesh_build_data' could run with non mesh objects and fail silently - add an assert.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52416 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33158: motion vector pass wrong in cycles in some scenes, wrong vectors
due to float precision problem in matrix inverse.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52417 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles bugfix: AUTO wasn't working for Equisolid Fisheye lens
Now one no longer needs to match the sensor dimensions with the render dimensions manually.

IMPORTANT NOTE: if you were using AUTO before with mismathing sensor aspect ratio (comparing to the render dimensions)
this will change your render! We can doversion this, but apart from Tube project I don't know if anyone else
is using this yet (part due to this bug and the only recently fixed 3dview preview aspect ratio).

That should help more artists to take advantage of this fantastic Blender feature.
It still helps to know the parameters of kwnown cameras/lens though.
For example:

Nikon DX2S with a 10.5mm fisheye can be set with:
Render resolution: 4288 x 2848
Sensor 23.7 x 15.70 (15.70 can be ommitted if AUTO is used as fit method)

Note: some cameras render different sizes according to the recording mode.
For example, a Red Scarlet in 5k (@12 fps) can render a full circular fisheye with a sigma 4.5 lens.
The same camera in the 30fps recording mode renders 4k in a cropped circular image.
So it's not only the resolution that changes, but the actual sensor been used.

So just keep in mind that the more information you have from the camera/lens you want to emulate the better.
Bug found at/patch written as a follow up of the BlenderPRO2012, patch reviewed by Brecht Van Lommel


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52418 954f8c5b-7b00-dc11-b283-0030488c597c
Change edge loop select and edge ring select to be consistent with
other selection operators.  Instead of having only a single "extend"
option which causes the selection to toggle, there are now
three options:
- extend: adds to selection
- deselect: removes from selection
- toggle: toggles the selection

The default keymap is adjusted to have identical behavior as before,
using these new options, so end-users shouldn't experience any
difference.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52419 954f8c5b-7b00-dc11-b283-0030488c597c
py api cleanup, replace use...
- PyLong_FromSsize_t --> PyLong_FromLong
- PyLong_AsSsize_t --> PyLong_AsLong

In all places except for those where python api expects PySsize_t (index lookups mainly).

- use PyBool_FromLong in a few areas of the BGE.
- fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52420 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33241: can't exit edit mode when object gets hidden via animation.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52421 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #33250: animation player shortcut keys not working on OS X.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52422 954f8c5b-7b00-dc11-b283-0030488c597c
scripts to report missing py reference api docs. (simple RST parse and compare with python)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52423 954f8c5b-7b00-dc11-b283-0030488c597c
doc corrections and add bge.types.KX_ArmatureSensor


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