8 years agosvn merge ^/trunk/blender -r48681:48691
Campbell Barton [Fri, 6 Jul 2012 20:28:35 +0000 (20:28 +0000)]
svn merge ^/trunk/blender -r48681:48691

8 years agodecrease size for convex hull epsilon when checking which side of a face the vertex...
Campbell Barton [Fri, 6 Jul 2012 20:16:04 +0000 (20:16 +0000)]
decrease size for convex hull epsilon when checking which side of a face the vertex is on.

this doesnt fix all cases but works better then it did.

8 years agostyle cleanup: var names
Campbell Barton [Fri, 6 Jul 2012 19:22:21 +0000 (19:22 +0000)]
style cleanup: var names

8 years agoFix for bug 32017.
Chris Want [Fri, 6 Jul 2012 16:55:35 +0000 (16:55 +0000)]
Fix for bug 32017.

There was some bad recursion introduced recently that caused crashes
when a Material node is the same material as the material itself (e.g.,
if Material.001 has a node with Material.001).

This commit attempt to correct this by keeping track of the material
at the root of the node tree, and doesn't recurse further if it
encounters it again within the nodetree.

Joshua, please review!

8 years agofix for crash when render result is NULL
Campbell Barton [Fri, 6 Jul 2012 14:26:22 +0000 (14:26 +0000)]
fix for crash when render result is NULL

8 years agosvn merge ^/trunk/blender -r48674:48681
Campbell Barton [Fri, 6 Jul 2012 14:25:49 +0000 (14:25 +0000)]
svn merge ^/trunk/blender -r48674:48681

8 years agofix for rare crash we have with some mango files.
Campbell Barton [Fri, 6 Jul 2012 14:24:41 +0000 (14:24 +0000)]
fix for rare crash we have with some mango files.

8 years agoFix ultra stupid mistake on Scons.
Antony Riakiotakis [Fri, 6 Jul 2012 13:36:54 +0000 (13:36 +0000)]
Fix ultra stupid mistake on Scons.

8 years agoTomato keying screen: small fixes and improvements
Sergey Sharybin [Fri, 6 Jul 2012 12:59:00 +0000 (12:59 +0000)]
Tomato keying screen: small fixes and improvements

- 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.

8 years ago * Added OpenCL implementation of the Defocus node
Jeroen Bakker [Fri, 6 Jul 2012 11:31:40 +0000 (11:31 +0000)]
 * Added OpenCL implementation of the Defocus node
 * Always disable two phase compositing during rendering

 - At Mind -

8 years agouse icons for rgb colors
Campbell Barton [Fri, 6 Jul 2012 11:24:43 +0000 (11:24 +0000)]
use icons for rgb colors

8 years agoFix [#31923] Particle instanced objects don't show textures in render
Bastien Montagne [Fri, 6 Jul 2012 10:03:27 +0000 (10:03 +0000)]
Fix [#31923] Particle instanced objects don't show textures in render

Actually, particle instance modifier was still using tessfaces, but copying poly cdata!

Simply made it using poly/loop.

8 years agosvn merge ^/trunk/blender -r48658:48674
Campbell Barton [Fri, 6 Jul 2012 09:24:47 +0000 (09:24 +0000)]
svn merge ^/trunk/blender -r48658:48674

8 years agorgb color display options for compo backdrop.
Campbell Barton [Fri, 6 Jul 2012 09:22:59 +0000 (09:22 +0000)]
rgb color display options for compo backdrop.

8 years agoFix [#32003] Triangulate fails for simple case.
Bastien Montagne [Fri, 6 Jul 2012 07:40:54 +0000 (07:40 +0000)]
Fix [#32003] Triangulate fails for simple case.

Main problem was in poly_rotate_plane() (which rotates a ngon to make its normal aligned with Z axis), it did not handled the case where the normal was aligned but opposite to the Z axis (which had the consequence that, as with the T mesh of the given blend, all tested new edges inside face were detected as outside, and vice-versa...).

Additionnaly, I made a mistake in previous Triangulate commit (r48243) in bm_face_goodline, which could allow a few invalid triangles in some specific cases, fixed!

And done a bit of cleanup, as I was at it.

8 years agoFix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is...
Mitchell Stokes [Thu, 5 Jul 2012 21:03:29 +0000 (21:03 +0000)]
Fix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is active" reported by Alex Fraser.

The glViewport used for 2D Filters wasn't quite matching the 3d view. It seems the height and width were both off by one. There may be a deeper bug with the canvas rectangle having slightly wrong dimensions, but this at least fixes the 2D Filters.

8 years agoYou do not need to create an object to call a static function.
Jason Wilkins [Thu, 5 Jul 2012 20:44:42 +0000 (20:44 +0000)]
You do not need to create an object to call a static function.

8 years agoFix for [#31122] "Properties cant have Spaces in names when using interval as a evalu...
Mitchell Stokes [Thu, 5 Jul 2012 20:34:42 +0000 (20:34 +0000)]
Fix for [#31122] "Properties cant have Spaces in names when using interval as a evaluation. Or else it'll fail to activate actuator." reported by Auuman Anubis.

I cleaned up the INTERVAL check to do a much cleaner (and saner) range check that doesn't get messed up by spaces.

8 years agosvn merge ^/trunk/blender -r48638:48658
Campbell Barton [Thu, 5 Jul 2012 18:04:17 +0000 (18:04 +0000)]
svn merge ^/trunk/blender -r48638:48658

8 years agocode cleanup: use a define for bmesh hull epsilon
Campbell Barton [Thu, 5 Jul 2012 18:03:07 +0000 (18:03 +0000)]
code cleanup: use a define for bmesh hull epsilon

8 years agofix for error in own recebt commit, broke mask feathering.
Campbell Barton [Thu, 5 Jul 2012 18:02:28 +0000 (18:02 +0000)]
fix for error in own recebt commit, broke mask feathering.

8 years agofix for crash in point comparison when one of the arrays is NULL
Campbell Barton [Thu, 5 Jul 2012 17:08:06 +0000 (17:08 +0000)]
fix for crash in point comparison when one of the arrays is NULL

8 years agoCosmetic updates to mesh validate messages.
Bastien Montagne [Thu, 5 Jul 2012 13:02:42 +0000 (13:02 +0000)]
Cosmetic updates to mesh validate messages.

8 years agofix for making local loosing references to node groups.
Campbell Barton [Thu, 5 Jul 2012 12:50:50 +0000 (12:50 +0000)]
fix for making local loosing references to node groups.

node->id was left as an indirect link which wont get saved with the file.

8 years agocode cleanup: replace magic numbers with enum.
Campbell Barton [Thu, 5 Jul 2012 12:09:43 +0000 (12:09 +0000)]
code cleanup: replace magic numbers with enum.

8 years agoScons:
Thomas Dinges [Thu, 5 Jul 2012 11:45:28 +0000 (11:45 +0000)]
Fix for r48639, wrong syntax and wrong indent...

8 years agosvn merge ^/trunk/blender -r48604:48638
Campbell Barton [Thu, 5 Jul 2012 11:40:48 +0000 (11:40 +0000)]
svn merge ^/trunk/blender -r48604:48638

8 years agoUpdate build systems to copy needed dlls from MinGW-w64, turn openmp on by default...
Antony Riakiotakis [Thu, 5 Jul 2012 11:39:11 +0000 (11:39 +0000)]
Update build systems to copy needed dlls from MinGW-w64, turn openmp on by default for MinGW.

8 years agoadd the ability to make objects and obdata local but not materials.
Campbell Barton [Thu, 5 Jul 2012 11:37:04 +0000 (11:37 +0000)]
add the ability to make objects and obdata local but not materials.

8 years agoJapanese and Ukranian are now above 60% done, congrats!
Bastien Montagne [Thu, 5 Jul 2012 10:56:58 +0000 (10:56 +0000)]
Japanese and Ukranian are now above 60% done, congrats!

8 years agoColor management: skip generating byte buffers in verify_buffer_float
Sergey Sharybin [Thu, 5 Jul 2012 09:41:12 +0000 (09:41 +0000)]
Color management: skip generating byte buffers in verify_buffer_float

This saves some time in cases color management is used by sipping
generating non-color managed buffers.

8 years agoColor management: remove unused code
Sergey Sharybin [Thu, 5 Jul 2012 09:41:07 +0000 (09:41 +0000)]
Color management: remove unused code

8 years agoColor management: refactor of cache to deal better with movie clip cache
Sergey Sharybin [Thu, 5 Jul 2012 09:41:00 +0000 (09:41 +0000)]
Color management: refactor of cache to deal better with movie clip cache

There were some crashes discovered in some circumstances of using
color management within the clip editor which ended up some refactoring
of color management cache.

Switch from global movie cache instance to per-image buffer instances

This only means keys for color managed buffers could be much simpier
and that look up would happen much faster in there're lots of frames
cached. Memory limiter stuff is still global for all color management
and in fact it's also shared with movie clip cache .

This allowed to get rid of original image buffer stored in cache
key and allowed to easily remove all display buffers when source
image buffer is being freed. This was main culptrit leading to

Additional changes:

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

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

- Improved a bit behavior of cache element removing when buffer
  overflows on adding new display buffer and there're frames from
  movie clip.

8 years agoColor management: do not initialize threads in case conversion
Sergey Sharybin [Thu, 5 Jul 2012 09:40:53 +0000 (09:40 +0000)]
Color management: do not initialize threads in case conversion
happens in single thread only.

8 years agoAdded a default margin to the tile dependancy of the lens distortion
Jeroen Bakker [Thu, 5 Jul 2012 09:39:06 +0000 (09:39 +0000)]
Added a default margin to the tile dependancy of the lens distortion

8 years agoAdjusted margin of the lens distortion
Jeroen Bakker [Thu, 5 Jul 2012 08:33:17 +0000 (08:33 +0000)]
Adjusted margin of the lens distortion

8 years agoMoved highlight code to the workscheduler.
Jeroen Bakker [Thu, 5 Jul 2012 06:34:31 +0000 (06:34 +0000)]
Moved highlight code to the workscheduler.

8 years agoDoxygen cleanup
Nicholas Rishel [Thu, 5 Jul 2012 04:47:47 +0000 (04:47 +0000)]
Doxygen cleanup

8 years agoCode cleanup: move PBVH ray/AABB intersection test to BLI_math_geom
Nicholas Bishop [Thu, 5 Jul 2012 03:55:55 +0000 (03:55 +0000)]
Code cleanup: move PBVH ray/AABB intersection test to BLI_math_geom

8 years agoDraw outdated point cache in a lighter color
Sergej Reich [Thu, 5 Jul 2012 02:58:02 +0000 (02:58 +0000)]
Draw outdated point cache in a lighter color

8 years agoFix for [#32016] Tracking Settings Presets not working
Thomas Dinges [Wed, 4 Jul 2012 23:00:49 +0000 (23:00 +0000)]
Fix for [#32016] Tracking Settings Presets not working
* Removed outdated properties from the presets.

Note: it does not fail anymore, but needs an update for new settings probably.

8 years agoChange order of inclusion to stop MinGW from complaining
Antony Riakiotakis [Wed, 4 Jul 2012 22:55:40 +0000 (22:55 +0000)]
Change order of inclusion to stop MinGW from complaining

8 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 21:41:05 +0000 (21:41 +0000)]
style cleanup

8 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 20:47:12 +0000 (20:47 +0000)]
style cleanup

8 years agocode cleanup: remove Python.h include from blenkernel.
Campbell Barton [Wed, 4 Jul 2012 20:13:39 +0000 (20:13 +0000)]
code cleanup: remove Python.h include from blenkernel.

8 years agofix for crash with zero area mask.
Campbell Barton [Wed, 4 Jul 2012 18:49:09 +0000 (18:49 +0000)]
fix for crash with zero area mask.

8 years agostyle cleanup
Campbell Barton [Wed, 4 Jul 2012 18:40:19 +0000 (18:40 +0000)]
style cleanup

8 years agoMinor update to make it work within i18n repo too.
Bastien Montagne [Wed, 4 Jul 2012 18:19:58 +0000 (18:19 +0000)]
Minor update to make it work within i18n repo too.

8 years agosvn merge ^/trunk/blender -r48585:48604
Campbell Barton [Wed, 4 Jul 2012 17:55:30 +0000 (17:55 +0000)]
svn merge ^/trunk/blender -r48585:48604

8 years agoBugfix Smoke / DynamicPaint: Missing update call from depsgraph was missing when...
Daniel Genrich [Wed, 4 Jul 2012 16:55:17 +0000 (16:55 +0000)]
Bugfix Smoke / DynamicPaint: Missing update call from depsgraph was missing when force fields were used.

8 years agoCmake / Boost:
Thomas Dinges [Wed, 4 Jul 2012 16:39:34 +0000 (16:39 +0000)]
Cmake / Boost:
* Code cleanup

8 years agoWindows (msvc 2010) is now using Boost 1.49 - Updated cmake file.
Alexander Pinzon [Wed, 4 Jul 2012 16:10:22 +0000 (16:10 +0000)]
Windows (msvc 2010) is now using Boost 1.49 - Updated cmake file.

8 years agofix for carve memory leak, update carve to hg bf36d92ff093
Campbell Barton [Wed, 4 Jul 2012 16:07:01 +0000 (16:07 +0000)]
fix for carve memory leak, update carve to hg bf36d92ff093

8 years agoLast spell checking (for now).
Bastien Montagne [Wed, 4 Jul 2012 15:52:07 +0000 (15:52 +0000)]
Last spell checking (for now).

Only mysterious courant from bpy.types.ParticleSettings.courant_target reamins...

8 years agoMore spell checking.
Bastien Montagne [Wed, 4 Jul 2012 15:04:38 +0000 (15:04 +0000)]
More spell checking.

8 years agospelling cleanup: metre -> er
Campbell Barton [Wed, 4 Jul 2012 12:56:58 +0000 (12:56 +0000)]
spelling cleanup: metre -> er

8 years agofix for building with windows.
Campbell Barton [Wed, 4 Jul 2012 12:36:43 +0000 (12:36 +0000)]
fix for building with windows.

8 years agorelay the original node to a different place holder to resolve some
Jeroen Bakker [Wed, 4 Jul 2012 12:30:17 +0000 (12:30 +0000)]
relay the original node to a different place holder to resolve some

8 years agoSpellfixes: colour -> color
Bastien Montagne [Wed, 4 Jul 2012 12:19:50 +0000 (12:19 +0000)]
Spellfixes: colour -> color

8 years agosvn merge ^/trunk/blender -r48576:48585
Campbell Barton [Wed, 4 Jul 2012 11:53:48 +0000 (11:53 +0000)]
svn merge ^/trunk/blender -r48576:48585

8 years agocycles changes:
Campbell Barton [Wed, 4 Jul 2012 11:48:42 +0000 (11:48 +0000)]
cycles changes:
- images that can't be loaded because of the limit are printed in the console.
- textures that can't be found show up as pink (so we know somethings wrong).

8 years agoTwo pass execution:
Jeroen Bakker [Wed, 4 Jul 2012 11:39:28 +0000 (11:39 +0000)]
Two pass execution:
1. first pass only fast nodes are calculated and only to the active
viewer node
2. second pass all nodes to all outputs

Temp disabled highlights because of random crashes.

8 years agoHighlight nodes that are being processed
Jeroen Bakker [Wed, 4 Jul 2012 10:01:45 +0000 (10:01 +0000)]
Highlight nodes that are being processed

8 years agoStyle cleanup, no functional changes
Sergey Sharybin [Wed, 4 Jul 2012 09:08:05 +0000 (09:08 +0000)]
Style cleanup, no functional changes

8 years agofix staic OCIO with cmake and a little correction in scons)
Jens Verwiebe [Wed, 4 Jul 2012 08:39:57 +0000 (08:39 +0000)]
fix staic OCIO with cmake and a little correction in scons)

8 years agoMerging r48575 through r48576 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 4 Jul 2012 07:37:21 +0000 (07:37 +0000)]
Merging r48575 through r48576 from trunk into soc-2011-tomato

8 years agoRevert the DNA pdef_stickness -> pdef_stickiness part of r48556.
Bastien Montagne [Wed, 4 Jul 2012 07:35:54 +0000 (07:35 +0000)]
Revert the DNA pdef_stickness -> pdef_stickiness part of r48556.

Forgot DNA needed stable names... :/ Correct spelling would involve keeping the old one for load code anyway, so better live with incorrect spelling here.

8 years agoMerging r48545 through r48574 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 4 Jul 2012 07:33:34 +0000 (07:33 +0000)]
Merging r48545 through r48574 from trunk into soc-2011-tomato

8 years agoMask node: create a copy of layers to be rasterized in initExecution
Sergey Sharybin [Wed, 4 Jul 2012 07:10:23 +0000 (07:10 +0000)]
Mask node: create a copy of layers to be rasterized in initExecution

This creates a list of splines to be rasterized in nitExecution which
is being called from main thread. This should resolve possible threading
issues discovered in tomato branch.

8 years agoadd support for scrubbing with the mouse
Campbell Barton [Tue, 3 Jul 2012 22:58:43 +0000 (22:58 +0000)]
add support for scrubbing with the mouse

8 years agomost keyboard events working again, but no scrub
Campbell Barton [Tue, 3 Jul 2012 22:10:59 +0000 (22:10 +0000)]
most keyboard events working again, but no scrub

8 years agofix error in node template and quiet warning.
Campbell Barton [Tue, 3 Jul 2012 21:03:39 +0000 (21:03 +0000)]
fix error in node template and quiet warning.

8 years agomake the last fix unhackish
Jens Verwiebe [Tue, 3 Jul 2012 19:40:01 +0000 (19:40 +0000)]
make the last fix unhackish

8 years agoMore spell and typo fixes (mostly visualise->visualize, grey->gray, normalise->normal...
Bastien Montagne [Tue, 3 Jul 2012 19:09:07 +0000 (19:09 +0000)]
More spell and typo fixes (mostly visualise->visualize, grey->gray, normalise->normalize).

8 years agoMinor updates.
Bastien Montagne [Tue, 3 Jul 2012 19:06:43 +0000 (19:06 +0000)]
Minor updates.

8 years agosome fixes and a hack to get osx with ocio compiled, todo: also add the missing libs
Jens Verwiebe [Tue, 3 Jul 2012 19:03:52 +0000 (19:03 +0000)]
some fixes and a hack to get osx with ocio compiled, todo: also add the missing libs

8 years agoFirst load of spell and typo fixes (mostly UI messages, but also one or two pieces...
Bastien Montagne [Tue, 3 Jul 2012 17:20:21 +0000 (17:20 +0000)]
First load of spell and typo fixes (mostly UI messages, but also one or two pieces of code using mis-spelled names).

8 years agoTomato: skip cache for Movieclip input node only when rendering
Sergey Sharybin [Tue, 3 Jul 2012 16:23:15 +0000 (16:23 +0000)]
Tomato: skip cache for Movieclip input node only when rendering

8 years agoTomato experimental option: disable cacheing for movie clip node
Sergey Sharybin [Tue, 3 Jul 2012 16:18:39 +0000 (16:18 +0000)]
Tomato experimental option: disable cacheing for movie clip node

8 years agoAlso fix Anim Player button for node editor
Sergey Sharybin [Tue, 3 Jul 2012 16:04:26 +0000 (16:04 +0000)]
Also fix Anim Player button for node editor

8 years agoTomato: fixed crash caused by interaction between color management and
Sergey Sharybin [Tue, 3 Jul 2012 16:00:57 +0000 (16:00 +0000)]
Tomato: fixed crash caused by interaction between color management and
movie clip caches resulting in some unchecked NULL pointers.

Probably it'll be better to separate memory limitors for cache and
clips or double-check priority functions are fine to deal with
such cases.

8 years agoTomato: correction to mask cache so parenting should work fine now
Sergey Sharybin [Tue, 3 Jul 2012 15:46:23 +0000 (15:46 +0000)]
Tomato: correction to mask cache so parenting should work fine now

8 years agoMerging r48538 through r48544 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 3 Jul 2012 15:14:14 +0000 (15:14 +0000)]
Merging r48538 through r48544 from trunk into soc-2011-tomato

8 years agoGrmph! module renaming broke the tool!
Bastien Montagne [Tue, 3 Jul 2012 15:05:10 +0000 (15:05 +0000)]
Grmph! module renaming broke the tool!

8 years agoFix #32002: "Anim Player" button on header doesn't appear
Sergey Sharybin [Tue, 3 Jul 2012 15:01:54 +0000 (15:01 +0000)]
Fix #32002: "Anim Player" button on header doesn't appear

8 years agoCorrections to default values for view settings
Sergey Sharybin [Tue, 3 Jul 2012 14:51:54 +0000 (14:51 +0000)]
Corrections to default values for view settings

8 years agoTomato: hack to cache result of rasterization
Sergey Sharybin [Tue, 3 Jul 2012 14:30:55 +0000 (14:30 +0000)]
Tomato: hack to cache result of rasterization

It shall be removed as soon as tile-based rasterization is here,
but to remove current stoppers should be fine.

8 years agoimage sequence - apply cyclic option AFTER the image offset,
Campbell Barton [Tue, 3 Jul 2012 14:25:06 +0000 (14:25 +0000)]
image sequence - apply cyclic option AFTER the image offset,
there was no way to properly loop on a sequence of images that didnt start frame 1.

8 years agosvn merge ^/trunk/blender -r48527:48537
Campbell Barton [Tue, 3 Jul 2012 14:05:18 +0000 (14:05 +0000)]
svn merge ^/trunk/blender -r48527:48537

8 years agodont display image sequences outside the frame range in the 3D viewport.
Campbell Barton [Tue, 3 Jul 2012 14:04:39 +0000 (14:04 +0000)]
dont display image sequences outside the frame range in the 3D viewport.

8 years agoFix for the "black F-Curves" bug on undo
Joshua Leung [Tue, 3 Jul 2012 13:47:13 +0000 (13:47 +0000)]
Fix for the "black F-Curves" bug on undo
(From personal stash of bugs - since early 2.5 versions)

F-Curve colors get applied only on Graph Editor "refresh()". In some cases, undo
was reverting back to a state where the colors had not yet been set. In these
cases, there would be no refresh() after that undo (until expanding a channel or
some other similar action), resulting in "black F-Curves" appearing. So, now we
force such an update after undo to ensure that the curves never display black.

(Noticed while investigating another bug for Mango related to
CLIP_OT_constraint_to_fcurve not sending notifiers required when new F-Curves
are added)

8 years agoMore exception words to the ui dico... :/
Bastien Montagne [Tue, 3 Jul 2012 13:24:13 +0000 (13:24 +0000)]
More exception words to the ui dico... :/

8 years agoMinor edits.
Bastien Montagne [Tue, 3 Jul 2012 13:15:23 +0000 (13:15 +0000)]
Minor edits.

8 years agoFix [#31977] Export Animated Mesh, terminate baking in fluid-sim
Bastien Montagne [Tue, 3 Jul 2012 12:40:19 +0000 (12:40 +0000)]
Fix [#31977] Export Animated Mesh, terminate baking in fluid-sim

* Elbeem exporter code now overrides user settings to No Slip in case the object is animated;
* UI of fluid obstacles now disables slip settings when export animated is enabled;
* Added in this later option's tooltip a mention that it enforces No Slip!

8 years agorename module to something less generic.
Campbell Barton [Tue, 3 Jul 2012 11:32:42 +0000 (11:32 +0000)]
rename module to something less generic.

8 years agosvn merge ^/trunk/blender -r48489:48527
Campbell Barton [Tue, 3 Jul 2012 11:03:39 +0000 (11:03 +0000)]
svn merge ^/trunk/blender -r48489:48527

8 years agoTomato: style cleanup, no functional changes
Sergey Sharybin [Tue, 3 Jul 2012 10:56:48 +0000 (10:56 +0000)]
Tomato: style cleanup, no functional changes

8 years agoTomato: improved cache management for movie clips
Sergey Sharybin [Tue, 3 Jul 2012 10:56:33 +0000 (10:56 +0000)]
Tomato: improved cache management for movie clips

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:


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.

8 years agofix (actually nasty workaround), for groups incorrectly drawing in the object panel...
Campbell Barton [Tue, 3 Jul 2012 10:32:10 +0000 (10:32 +0000)]
fix (actually nasty workaround), for groups incorrectly drawing in the object panel when the blend file has naming collisions with library data.

also minor style cleanup in bpy_rna.c

8 years agoOptimized the area of interest of the lensdistortion node.
Jeroen Bakker [Tue, 3 Jul 2012 09:05:19 +0000 (09:05 +0000)]
Optimized the area of interest of the lensdistortion node.
This will have faster feedback to the user, as lensdistortion is mostly
a node that is located at the end of a composite