SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48783 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for a crash caused by ReplaceMesh changing an objects physics shape. CcdShapeConstructionInfo::UpdateMesh() would change the CcdShapeConstructionInfo's m_meshObject, but didn't change m_meshShapeMap, which means the CcdShapeConstructionInfo object's destructor would not find it's m_meshObject in the m_meshShapeMap. This leaves some nasty dangling pointers laying around which caused issues if the scene was re-run, or the scene was changed to one that also had the mesh.

Note: This fix could cause other issues with shared physics meshes. In general, we may want to re-evaluate how we handle updating potentially shared physics meshes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48784 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for my previous commit so things build on GCC.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48785 954f8c5b-7b00-dc11-b283-0030488c597c
some code refactors in raskter.c to sync it with build where mask tiling is being developed. Also adds a bit more mask tiling code.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48786 954f8c5b-7b00-dc11-b283-0030488c597c
fix: inline to __inline in raskter.c for msvc

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48787 954f8c5b-7b00-dc11-b283-0030488c597c
Inline the read Memory Buffer functions for speed optimizations.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48788 954f8c5b-7b00-dc11-b283-0030488c597c
rename raskter kdtree files to be less generic


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48789 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32052, Conflicts in unique node names.

All node group operators which move nodes directly between bNodeTree->nodes lists now make sure the node names are indeed unique in their new environment (the node group tree or the parent tree).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48794 954f8c5b-7b00-dc11-b283-0030488c597c
Mango request: disable compositing on file load.
This does not make much sense and just annoys in most of cases.

---
Merging r48793 from soc-2011-tomato into trunk



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48797 954f8c5b-7b00-dc11-b283-0030488c597c
Mango request: option to clamp result of Mix RGB and Color Math nodes

---
Merging r48792 from soc-2011-tomato into trunk



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48798 954f8c5b-7b00-dc11-b283-0030488c597c
Mango request: added an input node to use track's position in compositor

--
svn merge -r48088:48089 -r48091:48092 ^/branches/soc-2011-tomato



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48799 954f8c5b-7b00-dc11-b283-0030488c597c
refactor node highlight code. New implementation will not write to
uninitialized memory. it happened when you delete a node that was being
executed. in the compostor


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48800 954f8c5b-7b00-dc11-b283-0030488c597c
Tag ununsed variable and make function real explicit prototype.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48801 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compilation error when using MSVC

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48802 954f8c5b-7b00-dc11-b283-0030488c597c
Synchronize style cleanup changes made in tomato branch

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48805 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for center calculation in node transforms. This now uses the actual barycenter of node rect centers.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48806 954f8c5b-7b00-dc11-b283-0030488c597c
Movie Clip Node: skip putting  frame to cache when rendering animation

This helps keeping memory usage low and have cached segments untouched
when mixing stuff like tracking and rendering -- now you wouldn't be
need to re-cache segment you're working on after rendering.

---
svn merge -r48550:48552 ^/branches/soc-2011-tomato



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48807 954f8c5b-7b00-dc11-b283-0030488c597c
Improved cache management for movie clips from tomato branch

Replace pseudo-LRU approach of determining which buffer
to remove when running out of space allowed for cache
with approach which would remove the frame which is most
far away from newly added frame.

This is still a bit tricky because it's impossible to
distinguish which frame to delete in situation of:

        CCCC...CC
           ^

it's either user wants to extend left segment of cached
frames and buffers from right segment should be removed
or he wants to join this two segments and in that case
buffers from right segment should be removed.

Would need a bit more investigation which situation
is more common in general usecase.

Additional changes:

- Cleanup some memutil files (which are familiar to cache limiter)

- Add option to make moviecache verbose. If DEBUG_MESSAGES is
  defined in moviecache.c detailed logs would be printed to the
  console.

- Movie caches are now named which helps reading debug messages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48808 954f8c5b-7b00-dc11-b283-0030488c597c
Keying screen: small fixes and improvements from tomato

- Fixed issues with calculating matte with balance != 0.5
  It used to be used concave combination of minimal and maximal
  channel values which could be inpredictable.
  Use concave combination of two non-major channels sorted
  by their index, so such combination would always use the same
  coefficients for particular non-major channels.

- Added despill balance slider which defines balance between
  non-major channels used for calculating average of two
  colors. Difference between average value and pixel value of
  major screen channel defines amount of despill. Balance of
  0.5 gives the same behavior as it was before this slider
  was added.

---
svn merge -r48678:48679 -r48789:48790 ^/branches/soc-2011-tomato



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48809 954f8c5b-7b00-dc11-b283-0030488c597c
Make grumpy gcc in "overwarning" mode happy again...

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