* Compile fix for r59990.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59994 954f8c5b-7b00-dc11-b283-0030488c597c
add BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses stack memory and never allocates.
it can be added and removed many times per function but will always remain the size of the maximum number of items.

not used yet, added for normal calculation function from mont29.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59997 954f8c5b-7b00-dc11-b283-0030488c597c
remove redundant indirection in asserts


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59998 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/Scons/clang: restrict the ftemplate fix to clang only

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60001 954f8c5b-7b00-dc11-b283-0030488c597c
Tweaks to plane track

- Do plane re-evaluation only when transform is actually done.
  Before this re-evaluation happened on every mouse move.

- Added a flag "Auto Keyframe" for the plane track, which does:

  * If Auto Keyframe is enabled, then every manual edit of the
    plane will create a new keyframe at current frame and update
    plane motion between current frame and previous/next keyframe.

    This now also implies blending detected motion with neighbor
    keyframes, so there's no jump happening.

    No automatic update on manual point tracks edit will happen.

  * If auto Keyframe is disabled, then no keyframes are adding
    to the plane and every plane tweak will re-evaluate in on
    the whole frame range.

    In this case manual tweaks to point tracks and re-tracking
    them implies plane re-evaluation.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60002 954f8c5b-7b00-dc11-b283-0030488c597c
Don't show 2D cursor in tracking mode i pivoting is not set to 2D cursor

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60003 954f8c5b-7b00-dc11-b283-0030488c597c
Enable view3d-like shortcuts for pivot point in clip editor

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60004 954f8c5b-7b00-dc11-b283-0030488c597c
Core code for split normals computation. Many thanks to ideasman for is optimization guiding and code reviews!

Note the API is not yet committed, as it may need a few more checks & tweaks. ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60005 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/Scons/clang: more restrict the ftemplate fix to clang bundled with xcode 5 only

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60006 954f8c5b-7b00-dc11-b283-0030488c597c
Another DNA cleanup (enums instead of defines).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60007 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36577: sculpt area plane texture mapping + random angle did not work.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60008 954f8c5b-7b00-dc11-b283-0030488c597c
startup.blend: add a function BLO_update_defaults_startup_blend to change
default settings in the startup.blend without having to actually save and embed
the file, which can be a tricky process and is problematic in branches and
patches.

This function can be emptied each time a new startup.blend is committed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60009 954f8c5b-7b00-dc11-b283-0030488c597c
startup.blend: save images as RGBA by default, to avoid losing data when
forgetting to change it from RGB when painting images or saving renders.

This makes more sense in the new alpha pipeline, renders no longer contain an
alpha channel that does not match the RGB channels, so saving files as RGBA
should give the expected results when opening them in other applications.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60010 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36271: missing (+) icon for toolbar in compositing layout in default startup.blend.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60011 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles too slow export of meshes with uvs when a motion vector pass is used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60013 954f8c5b-7b00-dc11-b283-0030488c597c
Update to writefile: do not save TEMPORARY or NO_COPY CD layers!

Neede for next commit (split normals API).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60014 954f8c5b-7b00-dc11-b283-0030488c597c
Split normals API, to get per-vertex per-face normals, useful to export sharp edges in a compatible way.

Many thanks to Campbell and Brecht for reviews.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60015 954f8c5b-7b00-dc11-b283-0030488c597c
Possible fix for MSVC compiling (grr...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60016 954f8c5b-7b00-dc11-b283-0030488c597c
Another atempt to fix MSVC compiling.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60017 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: fix a typo for jack adding frameworksearchpath

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