remove unneeded NULL checks, add one for give_matarar() return value.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58684 954f8c5b-7b00-dc11-b283-0030488c597c
fix for freed memory access clearing tracks in the clip editor.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58685 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: skip error checks when building in release mode (minor speedup),
also more strict use of BLI_array_declare(), only allow after array is declared.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58687 954f8c5b-7b00-dc11-b283-0030488c597c
move alloca define into its own header since its not related to BLI_array


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58689 954f8c5b-7b00-dc11-b283-0030488c597c
error in last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58690 954f8c5b-7b00-dc11-b283-0030488c597c
move suspicious break statement in drawDispListsolid() to prevent falling through.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58691 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#36296] object->display-properties subpanel layout cleanup
from David Jeske (jeske), with minor edits of my own.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58692 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#36233] Fix Halo and Billboard Normal and Behavior
from Vitor Balbio (vitorbalbio)

Fixes billboard flipping (flipped normals and textures too)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58693 954f8c5b-7b00-dc11-b283-0030488c597c
add BLI_alloca.h, missed in previous commit


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