add BLI_alloca.h, missed in previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58694 954f8c5b-7b00-dc11-b283-0030488c597c
use '_exec' suffix for operator execute callbacks, also picky change to sizeof() use in BLI_array.h


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58696 954f8c5b-7b00-dc11-b283-0030488c597c
add inline functions getting a single axis from mul_m3_v3()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58698 954f8c5b-7b00-dc11-b283-0030488c597c
new mesh tool for cleaning up meshes, splits up non-planar faces while they exceed a given angle threshold
(access from the 'Mesh -> Clean' menu).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58699 954f8c5b-7b00-dc11-b283-0030488c597c
UI / Code:
Cody style changes for r58692.
* First of all, UI code is really simple, especially in such small panels, no need to comment obvious things like left/right column.
* "if 1" nested structs for code clarity? That's a really bad thing, especially if you have 3  lines which belong together, but only 2 of them are indented...

    sub = row.row()
    sub.active = obj.show_bounds
sub.prop(obj, "draw_bounds_type", text="")

* Empty line after layout = self.layout declarations, we still follow these Rules.
http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Guidelines/Layouts

Thanks! 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58700 954f8c5b-7b00-dc11-b283-0030488c597c
rename term 'grid node' --> 'grid division' wtr snapping tips.


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