make code style of makesrna.c conform to the rest of blender, was also some odd indentation for property and struct definitions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58705 954f8c5b-7b00-dc11-b283-0030488c597c
minor changes for confusing code.
- memset() was argument was truncated.
- outliner had redundant NULL check.
- node texture was allocating memory to make a unique name which isnt needed for a fixed size string.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58706 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh optimization (noted as todo), avoid recalculating normal every time BM_face_legal_splits() runs,
assume normal is valid (assert when its not).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58709 954f8c5b-7b00-dc11-b283-0030488c597c
fix for possible dounle fclose in makesrna's replace_if_different function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58712 954f8c5b-7b00-dc11-b283-0030488c597c
add api call for initializing events from the windows eventstate.


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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@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@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@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@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@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@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@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@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@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@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@58736 954f8c5b-7b00-dc11-b283-0030488c597c