add api call for initializing events from the windows eventstate.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58713 954f8c5b-7b00-dc11-b283-0030488c597c
add asserts to ensure face normal is up to date.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58714 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36280] Dynamic Topology crashes with active face


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58715 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36264, New modulo math node not viewable in GLSL mode. Modulo math operation was simply missing the switch statement for gpu execution.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58716 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36235: cycles crash deactivating render layer during rendering.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58718 954f8c5b-7b00-dc11-b283-0030488c597c
Added/changed comment for clarification

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58721 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36290: cycles generated texture coordinates were not sticking to the
surface again, got lost in an unrelated optimization.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58723 954f8c5b-7b00-dc11-b283-0030488c597c
Added Scene scale calculator to UnitConverter for future usage (wip)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58725 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: Import now always rotates input to match blender's Z_UP axis

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58726 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58727 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding bge.physics as another alias for the PhysicsConstraints module.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58728 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58729 954f8c5b-7b00-dc11-b283-0030488c597c
Missed a couple of files for the vsync commit (r58729).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58730 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: unit converter was not initialized for ArmatureImporter

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58734 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58735 954f8c5b-7b00-dc11-b283-0030488c597c
Minor change to the custom_nodes.py template that has some consequences for addons: use bpy.types.* base classes instead of bpy_types.*

The bpy_types classes cause issues when used in addons when loading on Blender startup (subclasses cannot be properly registered).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58736 954f8c5b-7b00-dc11-b283-0030488c597c
Remove superfluous iterations (caused by typo) and type casts in outliner

This significantly lowers the position of outliner_draw_tree_element in profiler
and partially fixes [#36260] (2,300 Objects Makes Blender Unresponsive)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58737 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#36321] 'Mark Freestyle Edge' still showing with Cycles renderer
* Now we hide Freestyle properties when "use_shading_nodes" is true. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58738 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered.

I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58739 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in own recent changes to transform initialization, proportional editmode needs to skip hidden faces.


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