blender.git
6 years agoMerging r50192 through r50223 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 26 Aug 2012 14:12:09 +0000 (14:12 +0000)]
Merging r50192 through r50223 from trunk into soc-2011-tomato

6 years agocode cleanup: split out mask spline evaluation into its own file.
Campbell Barton [Sun, 26 Aug 2012 13:41:40 +0000 (13:41 +0000)]
code cleanup: split out mask spline evaluation into its own file.

6 years agoColor Management: correction to previous commit
Sergey Sharybin [Sun, 26 Aug 2012 13:18:43 +0000 (13:18 +0000)]
Color Management: correction to previous commit

6 years agofix for build error without ffmpeg
Campbell Barton [Sun, 26 Aug 2012 12:21:25 +0000 (12:21 +0000)]
fix for build error without ffmpeg

6 years agostyle cleanup: whitespace
Campbell Barton [Sun, 26 Aug 2012 11:35:43 +0000 (11:35 +0000)]
style cleanup: whitespace

6 years agoColor Management: CMake should detect yaml-cpp and tinyxml libraries automatically
Sergey Sharybin [Sun, 26 Aug 2012 11:34:33 +0000 (11:34 +0000)]
Color Management: CMake should detect yaml-cpp and tinyxml libraries automatically

This makes Blender compilable with CMake and OCIO libraries from SVN.

6 years agoStyle cleanup: whitespace
Sergey Sharybin [Sun, 26 Aug 2012 11:01:18 +0000 (11:01 +0000)]
Style cleanup: whitespace

6 years agoSome FFmpeg changes
Sergey Sharybin [Sun, 26 Aug 2012 11:01:14 +0000 (11:01 +0000)]
Some FFmpeg changes

- Make FFmpeg initialization called from creator, not from functions
  which requires FFmpeg. Makes it easier to follow when initialization
  should happen.

- Enable DNxHD codec. It was commented a while ago due to some strange
  behavior on some platforms. Re-tested it on Linux and Windows and
  it seemd to be working quite nice. Would let it be tested further,
  if it wouldn't be stable enough, easy to comment it again.

- Make non-error messages from writeffmpeg.c printed only if ffmpeg
  debug argument was passed to blender. Reduces console pollution
  with messages which are not useful for general troubleshooting.
  Error messages would still be printed to the console.

- Show FFmpeg error message when video stream failed to allocate.
  makes it easier to understand what exactly is wrong from Blender
  interface, no need to restart blender with FFmpeg debug flag and
  check for console messages.

  Used custom log callback for this which stores last error message
  in static variable. This is not thread safe, but with current
  design FFmpeg routines could not be called form several threads
  anyway, so think it's fine solution/

6 years agoBugfix [#32410] Create New Group (CTRL+G) tried to activate even when nothing is
Joshua Leung [Sun, 26 Aug 2012 08:03:31 +0000 (08:03 +0000)]
Bugfix [#32410] Create New Group (CTRL+G) tried to activate even when nothing is
selected

Some group operators were missing poll() callbacks

6 years agoCompiling fix for Windows+Mingw: "Ambiguous" use of IStream
Joshua Leung [Sun, 26 Aug 2012 07:27:51 +0000 (07:27 +0000)]
Compiling fix for Windows+Mingw: "Ambiguous" use of IStream

6 years agocode cleanup: comments and some minor edits to interface code.
Campbell Barton [Sat, 25 Aug 2012 20:49:51 +0000 (20:49 +0000)]
code cleanup: comments and some minor edits to interface code.

6 years agomake SWAP macros typesafe using CHECK_TYPE macro.
Campbell Barton [Sat, 25 Aug 2012 20:16:08 +0000 (20:16 +0000)]
make SWAP macros typesafe using CHECK_TYPE macro.

Its unlikely you want to do short -> int, int -> float etc, conversion during swapping (if its needed we could have a non type checking macro).

Double that the optimized assembler outbut using SWAP() remains unchanged from before.

This exposed quite a few places where redundant type conversion was going on.

Also remove curve.c's swapdata() and replace its use with swap_v3_v3()

6 years agofix for type mismatch with SWAP() macro.
Campbell Barton [Sat, 25 Aug 2012 19:43:15 +0000 (19:43 +0000)]
fix for type mismatch with SWAP() macro.

6 years agocode cleanup: vec_to_quat
Campbell Barton [Sat, 25 Aug 2012 17:58:49 +0000 (17:58 +0000)]
code cleanup: vec_to_quat

6 years agoadd conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' var in...
Campbell Barton [Sat, 25 Aug 2012 17:42:15 +0000 (17:42 +0000)]
add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' var in math_rotation.c

6 years agoTomato Cycles:
Thomas Dinges [Sat, 25 Aug 2012 16:52:55 +0000 (16:52 +0000)]
Tomato Cycles:
* Added a Brick Texture Node to Cycles.
* Based on the Blender Internal Brick Texture with some modifications.
* Tested on CPU and GPU (CUDA & OpenCL)

Documentation: http://wiki.blender.org/index.php/User:DingTo/CyclesBrickTexture

ToDo: Only works correct on flat surfaces, like a Plane. If you attach the shader to 3D objects like a cube, the mapping is not correct on the Y/Z vector.

Thanks to Lukas Toenne for fixing a issue I had with the Node code! :)

6 years agoadd manual lookup to addon tempalte
Campbell Barton [Sat, 25 Aug 2012 15:00:41 +0000 (15:00 +0000)]
add manual lookup to addon tempalte

6 years agobetter handle sizes by default for mask mode, now ignore image width/height
Campbell Barton [Sat, 25 Aug 2012 14:18:54 +0000 (14:18 +0000)]
better handle sizes by default for mask mode, now ignore image width/height

6 years agoability to register your own online manual callbacks - useful for 3rd party addon...
Campbell Barton [Sat, 25 Aug 2012 14:07:51 +0000 (14:07 +0000)]
ability to register your own online manual callbacks - useful for 3rd party addon developers, who may want to link to their own URL's.

6 years agominor code cleanup
Campbell Barton [Sat, 25 Aug 2012 12:55:14 +0000 (12:55 +0000)]
minor code cleanup

6 years agobaking actions with euler rotations now uses compatible eulers for pose and object...
Campbell Barton [Sat, 25 Aug 2012 12:37:15 +0000 (12:37 +0000)]
baking actions with euler rotations now uses compatible eulers for pose and object bakes.

6 years agodon't use a while loop when in compatible_eul(). this is a low level rotation functio...
Campbell Barton [Sat, 25 Aug 2012 12:32:22 +0000 (12:32 +0000)]
don't use a while loop when in compatible_eul(). this is a low level rotation function called in many places so better to avoid iterations.

checked this function against the previous method using random rotation inputs and compared results, while this isnt exactly the same the results are very close and acceptable in both cases, also checked baking actions that the resulting FCurves are good and give matching rotations.

6 years agouse set's when checking against multiple types.
Campbell Barton [Sat, 25 Aug 2012 11:54:58 +0000 (11:54 +0000)]
use set's when checking against multiple types.

6 years agostyle cleanup: also spelling
Campbell Barton [Fri, 24 Aug 2012 23:22:34 +0000 (23:22 +0000)]
style cleanup: also spelling

6 years agomesh bridge tool now leaves bridge faces selected.
Campbell Barton [Fri, 24 Aug 2012 17:58:49 +0000 (17:58 +0000)]
mesh bridge tool now leaves bridge faces selected.

6 years agoalternate fix for bug [#32395],
Campbell Barton [Fri, 24 Aug 2012 17:01:35 +0000 (17:01 +0000)]
alternate fix for bug [#32395],
now customdata is interpolated into a temp variable and applied at the end of each layer interpolation function.

So this now works for CDDM customdata interpolation and avoids duplicating the customdata when the source and destination overlap.

6 years agofix for merged bridge crashing on closed loops (own bug in recent commit)
Campbell Barton [Fri, 24 Aug 2012 16:55:25 +0000 (16:55 +0000)]
fix for merged bridge crashing on closed loops (own bug in recent commit)

6 years agoMerging r50190 through r50191 from into soc-2011-tomato
Sergey Sharybin [Fri, 24 Aug 2012 16:11:12 +0000 (16:11 +0000)]
Merging r50190 through r50191 from  into soc-2011-tomato

6 years agoSequencer: reshuffle overlapping strips on cancel trasnform
Sergey Sharybin [Fri, 24 Aug 2012 16:09:48 +0000 (16:09 +0000)]
Sequencer: reshuffle overlapping strips on cancel trasnform

It was possible to create overlapped strips by duplicating and
cancelling transform, now it sohuld be handled properly.

6 years agofix [#32357] Subdivide fails on newly created edge
Campbell Barton [Fri, 24 Aug 2012 14:54:14 +0000 (14:54 +0000)]
fix [#32357] Subdivide fails on newly created edge

problem since bmesh merge, new edges were not selected.

6 years agoMergin trunk into soc-2011-tomato up to rev 50188
Sergey Sharybin [Fri, 24 Aug 2012 14:11:04 +0000 (14:11 +0000)]
Mergin trunk into soc-2011-tomato up to rev 50188

All reverted commits should be merged again.

--
svn merge -r50173:50188 ^/trunk/blender

6 years agoFix for build error on some platforms, seems ImfStdIO.h is not included with
Brecht Van Lommel [Fri, 24 Aug 2012 14:04:21 +0000 (14:04 +0000)]
Fix for build error on some platforms, seems ImfStdIO.h is not included with
the other headers everywhere.

6 years agoColor management: initialize input color space on movie clip load
Sergey Sharybin [Fri, 24 Aug 2012 14:01:01 +0000 (14:01 +0000)]
Color management: initialize input color space on movie clip load

6 years agouse the zoom level to set the size for new mask point handle sizes (artist request...
Campbell Barton [Fri, 24 Aug 2012 14:00:39 +0000 (14:00 +0000)]
use the zoom level to set the size for new mask point handle sizes (artist request - handles were annoyingly bug when zoomed in)

6 years agoFix #32198: UV unwrap of half a UV sphere would not give a perfect sphere as a
Brecht Van Lommel [Fri, 24 Aug 2012 13:29:48 +0000 (13:29 +0000)]
Fix #32198: UV unwrap of half a UV sphere would not give a perfect sphere as a
result. This wasn't really guaranteed anyway, because of numerical precision and
possible asymmetry in the triangulation, but we can do a bit better.

Now we bias the choice of how to split a quad into two triangles slightly
towards one of two possibilities, so that in case they are equal, floating point
errors do not decide the direction and symmetry is preserved.

6 years agostop socket hiding from causing compositor recalculation.
Campbell Barton [Fri, 24 Aug 2012 13:22:05 +0000 (13:22 +0000)]
stop socket hiding from causing compositor recalculation.

6 years agoMerging r50179 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 24 Aug 2012 13:17:57 +0000 (13:17 +0000)]
Merging r50179 from trunk into soc-2011-tomato

6 years agoRevert previous merge commit, we need compilable blender in the studio
Sergey Sharybin [Fri, 24 Aug 2012 13:17:08 +0000 (13:17 +0000)]
Revert previous merge commit, we need compilable blender in the studio

6 years agoColor management: fix for clone brush
Sergey Sharybin [Fri, 24 Aug 2012 13:12:18 +0000 (13:12 +0000)]
Color management: fix for clone brush

It was using ibuf->rect for drawing alpha over, now it's using actual
display buffer.

6 years agosvn merge ^/trunk/blender -r50173:50179
Campbell Barton [Fri, 24 Aug 2012 12:50:54 +0000 (12:50 +0000)]
svn merge ^/trunk/blender -r50173:50179

6 years agofix for bug in variable size blur compositor node - using incorrect Y blur operations...
Campbell Barton [Fri, 24 Aug 2012 12:48:56 +0000 (12:48 +0000)]
fix for bug in variable size blur compositor node - using incorrect Y blur operations and uninitialized memory was causing random blur results.

6 years agoColor management: use partial buffer update when painting image
Sergey Sharybin [Fri, 24 Aug 2012 12:17:07 +0000 (12:17 +0000)]
Color management: use partial buffer update when painting image

Makes it much more responsible, especially when small brushes are used.

Could make sense look into using full multithreaded buffer update when
brush is large enough.

6 years agoCode cleanup: remove some unused code.
Brecht Van Lommel [Fri, 24 Aug 2012 12:10:38 +0000 (12:10 +0000)]
Code cleanup: remove some unused code.

6 years agoFix second part #32377: saving/loading exr files to file paths with non-ascii
Brecht Van Lommel [Fri, 24 Aug 2012 12:10:35 +0000 (12:10 +0000)]
Fix second part #32377: saving/loading exr files to file paths with non-ascii
characters should now work on Windows.

6 years agoColor management: fix regression with updating image while painting
Sergey Sharybin [Fri, 24 Aug 2012 11:02:01 +0000 (11:02 +0000)]
Color management: fix regression with updating image while painting

It'll update image properly but it seems it behaves slower then in trunk,
would investigate further.

6 years agoMerging r50172 through r50173 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 24 Aug 2012 09:45:42 +0000 (09:45 +0000)]
Merging r50172 through r50173 from trunk into soc-2011-tomato

6 years agoSequencer: allow negative bright/contrast
Sergey Sharybin [Fri, 24 Aug 2012 09:44:46 +0000 (09:44 +0000)]
Sequencer: allow negative bright/contrast

6 years agoMerging r50162 through r50171 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 24 Aug 2012 09:09:33 +0000 (09:09 +0000)]
Merging r50162 through r50171 from trunk into soc-2011-tomato

6 years agoSequencer: bright/contrast modifier
Sergey Sharybin [Fri, 24 Aug 2012 09:07:04 +0000 (09:07 +0000)]
Sequencer: bright/contrast modifier

Behaves in exactly the same way as bright/contrast compositor node.

Some code could be de-duplicated, like contrast formula and mask
influence, but wouldn't call it stopper for commit since it's
already needed for grading Mango.

6 years agocorrect assert for customdata overlap, also quiet `uninitialized` warning in transform.
Campbell Barton [Fri, 24 Aug 2012 08:17:53 +0000 (08:17 +0000)]
correct assert for customdata overlap, also quiet `uninitialized` warning in transform.

6 years agoGave the spacetype time region header malloc a more descriptive text, consistent...
Nicholas Rishel [Fri, 24 Aug 2012 05:14:16 +0000 (05:14 +0000)]
Gave the spacetype time region header malloc a more descriptive text, consistent with other header mallocs.

6 years agoCode cleanup: comment referenced an outdated file path + spelling error
Nicholas Rishel [Fri, 24 Aug 2012 05:12:05 +0000 (05:12 +0000)]
Code cleanup: comment referenced an outdated file path + spelling error

6 years agocode cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with our namin...
Campbell Barton [Thu, 23 Aug 2012 18:25:45 +0000 (18:25 +0000)]
code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with our naming convention.

6 years agobugfix for [32368] Added controllers don't count over 10
Dalai Felinto [Thu, 23 Aug 2012 17:37:04 +0000 (17:37 +0000)]
bugfix for [32368] Added controllers don't count over 10
Blender original code (NaN likely) was relying on strcmp to sort the list of controllers.
As it happens, in strcmp 10 < 2, thus the list was never in the right order.

The curious thing is that in 2.49 it worked, but I think it did because the make_unique_prop_names function was called twice. Strange ;)
The solution is to use blender BLI_natstrcmp to do natural sorting

6 years agofix [#32395] BMesh data interpolation feedback loop
Campbell Barton [Thu, 23 Aug 2012 17:16:11 +0000 (17:16 +0000)]
fix [#32395] BMesh data interpolation feedback loop

6 years agostyle cleanup: indentation, also quiet double promotion warnings for despeckle node.
Campbell Barton [Thu, 23 Aug 2012 16:17:47 +0000 (16:17 +0000)]
style cleanup: indentation, also quiet double promotion warnings for despeckle node.

6 years agoMerging r50160 through r50161 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 23 Aug 2012 16:15:37 +0000 (16:15 +0000)]
Merging r50160 through r50161 from trunk into soc-2011-tomato

6 years agoSequencer: display color sample information when mouse is holded down
Sergey Sharybin [Thu, 23 Aug 2012 16:14:52 +0000 (16:14 +0000)]
Sequencer: display color sample information when mouse is holded down

Behaves in exactly the same way as image editor's color sampling.

Would be nice to display color managed color too, but that's for tomato branch.

6 years agosvn merge ^/trunk/blender -r50156:50159
Campbell Barton [Thu, 23 Aug 2012 15:16:57 +0000 (15:16 +0000)]
svn merge ^/trunk/blender -r50156:50159

6 years agosequencer zooms horizontal only from mouse wheel and plus buttons.
Campbell Barton [Thu, 23 Aug 2012 14:49:20 +0000 (14:49 +0000)]
sequencer zooms horizontal only from mouse wheel and plus buttons.

6 years agoFix #32387: some mesh modifications breaking other shape keys.
Brecht Van Lommel [Thu, 23 Aug 2012 13:54:30 +0000 (13:54 +0000)]
Fix #32387: some mesh modifications breaking other shape keys.

The vertex shapekey index is now no longer copied, and propagation of offsets
in the basis to other shapekeys is disabled if new vertices were added. The
reason being that the propagation will only be done for the old vertices leaving
the new ones behind, and so doing e.g. subdivide + translate on the basis would
create a mess on other shape keys.

6 years agoMerging r50149 through r50156 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 23 Aug 2012 13:51:41 +0000 (13:51 +0000)]
Merging r50149 through r50156 from trunk into soc-2011-tomato

6 years agoSequencer: fix for color balance keyframing and modifier renaming
Sergey Sharybin [Thu, 23 Aug 2012 13:32:54 +0000 (13:32 +0000)]
Sequencer: fix for color balance keyframing and modifier renaming

6 years agoFix #32388: bpy.ops.wm.path_open() not working with path with spaces on Windows.
Brecht Van Lommel [Thu, 23 Aug 2012 11:18:31 +0000 (11:18 +0000)]
Fix #32388: bpy.ops.wm.path_open() not working with path with spaces on Windows.

6 years agoFix #32391: new remove doubles "unselected" option was enabled by default, don't
Brecht Van Lommel [Thu, 23 Aug 2012 10:56:16 +0000 (10:56 +0000)]
Fix #32391: new remove doubles "unselected" option was enabled by default, don't
think this was intentional.

6 years agoFix #32389: scons was compiling without iksolver and only itasc since a few days,
Brecht Van Lommel [Thu, 23 Aug 2012 10:56:14 +0000 (10:56 +0000)]
Fix #32389: scons was compiling without iksolver and only itasc since a few days,
which gave performance issues.

6 years agocode cleanup: use const weights for customdata interpolation functions
Campbell Barton [Thu, 23 Aug 2012 09:54:15 +0000 (09:54 +0000)]
code cleanup: use const weights for customdata interpolation functions

6 years agoBGE: When creating a controller by linking a sensor and actuator, the created control...
Mitchell Stokes [Thu, 23 Aug 2012 09:24:59 +0000 (09:24 +0000)]
BGE: When creating a controller by linking a sensor and actuator, the created controller will always be an and controller instead of the last controller type added.

6 years agofix own error in BM_data_interp_from_edges() from recent commit.
Campbell Barton [Thu, 23 Aug 2012 09:20:15 +0000 (09:20 +0000)]
fix own error in BM_data_interp_from_edges() from recent commit.

6 years agoMerging r50147 through r50148 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 23 Aug 2012 09:05:45 +0000 (09:05 +0000)]
Merging r50147 through r50148 from trunk into soc-2011-tomato

6 years agoSequencer: move up/down operators for modifiers
Sergey Sharybin [Thu, 23 Aug 2012 09:04:30 +0000 (09:04 +0000)]
Sequencer: move up/down operators for modifiers

6 years agosvn merge ^/trunk/blender -r50143:50146
Campbell Barton [Thu, 23 Aug 2012 08:54:06 +0000 (08:54 +0000)]
svn merge ^/trunk/blender -r50143:50146

6 years agoalt page up/down now jump between strip center frames (since often the middle frame...
Campbell Barton [Thu, 23 Aug 2012 08:10:45 +0000 (08:10 +0000)]
alt page up/down now jump between strip center frames (since often the middle frame is a better sample to check).

6 years agode-duplicate sequencer jump operator, use next/prev option instead.
Campbell Barton [Thu, 23 Aug 2012 07:39:51 +0000 (07:39 +0000)]
de-duplicate sequencer jump operator, use next/prev option instead.

6 years agosvn merge ^/trunk/blender -r50138:50143
Campbell Barton [Thu, 23 Aug 2012 07:14:53 +0000 (07:14 +0000)]
svn merge ^/trunk/blender -r50138:50143

6 years agostyle cleanup
Campbell Barton [Thu, 23 Aug 2012 07:10:48 +0000 (07:10 +0000)]
style cleanup

6 years agoset defaults for de-speckle
Campbell Barton [Thu, 23 Aug 2012 07:02:11 +0000 (07:02 +0000)]
set defaults for de-speckle

6 years agodespeckle composite node
Campbell Barton [Thu, 23 Aug 2012 06:48:01 +0000 (06:48 +0000)]
despeckle composite node

6 years agonothread was committed to tomato by accident
Campbell Barton [Thu, 23 Aug 2012 06:40:19 +0000 (06:40 +0000)]
nothread was committed to tomato by accident

6 years agosvn merge ^/trunk/blender -r50132:50138
Campbell Barton [Thu, 23 Aug 2012 06:32:51 +0000 (06:32 +0000)]
svn merge ^/trunk/blender -r50132:50138

6 years agochange I made gave a little nicer bleeding direction for inpaint but introduced dithe...
Campbell Barton [Thu, 23 Aug 2012 06:27:12 +0000 (06:27 +0000)]
change I made gave a little nicer bleeding direction for inpaint but introduced dithering artifact.

6 years ago- add BM_data_interp_from_edges() function (matches BM_data_interp_from_verts).
Campbell Barton [Thu, 23 Aug 2012 05:19:40 +0000 (05:19 +0000)]
- add BM_data_interp_from_edges() function (matches BM_data_interp_from_verts).
- bridge-merged now merges edge customdata and flags for verts and edges.

6 years agobmesh tool: support for merged-bridge (like bridge, collapsing), with a
Campbell Barton [Thu, 23 Aug 2012 04:55:59 +0000 (04:55 +0000)]
bmesh tool: support for merged-bridge (like bridge, collapsing), with a
factor to blend between loops.

6 years agoFix compilation on MinGW after recent utf 16 fixes (possibly win32 too). gcc ostream...
Antony Riakiotakis [Wed, 22 Aug 2012 19:01:09 +0000 (19:01 +0000)]
Fix compilation on MinGW after recent utf 16 fixes (possibly win32 too). gcc ostream does not support wchar_t, I hope it works as expected with unicode filenames.

6 years agoMerging r50119 through r50132 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 22 Aug 2012 17:23:02 +0000 (17:23 +0000)]
Merging r50119 through r50132 from trunk into soc-2011-tomato

6 years agoFixed regression introduced in 50107
Sergey Sharybin [Wed, 22 Aug 2012 17:22:04 +0000 (17:22 +0000)]
Fixed regression introduced in 50107

Shader preview job localizes material without referencing it as a user,
so don't need to unreference itself as a user from this material.

Added BKE_material_free_ex function which could skip user dereferencing.
This also removed old hack with mtex users.

6 years agoColor management: code cleanup
Sergey Sharybin [Wed, 22 Aug 2012 16:48:22 +0000 (16:48 +0000)]
Color management: code cleanup

6 years agoSequencer: fix crash caused by incorrect handling of color management on ImBuf duplicate
Sergey Sharybin [Wed, 22 Aug 2012 16:45:09 +0000 (16:45 +0000)]
Sequencer: fix crash caused by incorrect handling of color management on ImBuf duplicate

6 years agostyle cleanup
Campbell Barton [Wed, 22 Aug 2012 16:44:32 +0000 (16:44 +0000)]
style cleanup

6 years agoSequencer: fix sequence color space applying twice when rendering meta strips
Sergey Sharybin [Wed, 22 Aug 2012 16:16:38 +0000 (16:16 +0000)]
Sequencer: fix sequence color space applying twice when rendering meta strips

6 years agohook menu was using last remembered use_bone setting
Campbell Barton [Wed, 22 Aug 2012 15:38:03 +0000 (15:38 +0000)]
hook menu was using last remembered use_bone setting

6 years agoMovie cache: made it thread safe to operate with memory limitor
Sergey Sharybin [Wed, 22 Aug 2012 15:13:14 +0000 (15:13 +0000)]
Movie cache: made it thread safe to operate with memory limitor

Movie cache is using global memory limitor, which isn't thread safe
in some of operations, so it required to add mutex around limitor
operations in movie cache.

It's probably could be solved in a way with less locks involved
bu using different limitor for different areas (like use own limitor
for clips, own limitor for sequencer and so), but that wouldn't be
so easy to control overall memory usage.

6 years agoFix #32301: mesh select more/less not taking hidden vertices/faces into account.
Brecht Van Lommel [Wed, 22 Aug 2012 15:10:07 +0000 (15:10 +0000)]
Fix #32301: mesh select more/less not taking hidden vertices/faces into account.

6 years agodespeckle node for tomato only
Campbell Barton [Wed, 22 Aug 2012 15:08:41 +0000 (15:08 +0000)]
despeckle node for tomato only

6 years agodoc type correction
Campbell Barton [Wed, 22 Aug 2012 15:04:11 +0000 (15:04 +0000)]
doc type correction

6 years agoFix #32309: missing shortcuts in sculpt mode Hide/Mask menu. Keymap poll was too
Brecht Van Lommel [Wed, 22 Aug 2012 14:27:09 +0000 (14:27 +0000)]
Fix #32309: missing shortcuts in sculpt mode Hide/Mask menu. Keymap poll was too
strict, only has to check if we are in sculpt mode, not if the mouse is in the
main region too.

6 years agoFix #32262: mesh bridge between edge loops failed to find a good edge matching
Brecht Van Lommel [Wed, 22 Aug 2012 14:27:06 +0000 (14:27 +0000)]
Fix #32262: mesh bridge between edge loops failed to find a good edge matching
in some cases, in particular when the the edge loops were not planar.

Now rather than finding the shortest distance between two vertices, one from
each edge loop and using that as a starting point, it now finds the smallest
sum of distances between all vertex pairs that would be connected.

6 years agoColor Management: pipeline cleanup
Sergey Sharybin [Wed, 22 Aug 2012 14:23:08 +0000 (14:23 +0000)]
Color Management: pipeline cleanup

- Move color management settings to scene, so it's now clear for
  all areas (such as compositor, sequencer) which settings to
  use for display buffers

- Currently removed per-editor color management settings. It could
  be nice to have them, but they don't fit nicely into overall
  pipeline and could be added as a override settings for display
  only later.

- Make sequencer working in space defined by sequencer_workspace
  role in OCIO configuration file.
  If this role is not set, sequencer will fallback to legacy sRGB
  Gamma 2.2 space.

  Currently use vd16 color space for sequencer. Not sure what exactly
  this color space is, but it's pretty close to SPI Film view and
  it's still invertable.

- Sequencer will now output linear float buffers, not color managed
  float buffers.
  Before this sequencer used to output float buffers in sRGB space,
  which was sequencer's working space. Now it can not output buffers
  in this space since other areas are not aware of this space.
  This also makes it's consistent that all float buffers in Blender
  are in linear space.

- When saving render result into byte file format scene's display
  transform would be applied on this buffer.
  When saving files from image editor, there'll be a display
  transform settings which are default set to scene's settings but
  could also be overwritten.

Additional details are there (would be extended soon):

  http://wiki.blender.org/index.php/User:Nazg-gul/ColorManagement

6 years agoMerging r50113 through r50118 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 22 Aug 2012 13:46:23 +0000 (13:46 +0000)]
Merging r50113 through r50118 from trunk into soc-2011-tomato

6 years agoSequencer: fix for incorrect proxies rendering after some recent refactor
Sergey Sharybin [Wed, 22 Aug 2012 13:45:20 +0000 (13:45 +0000)]
Sequencer: fix for incorrect proxies rendering after some recent refactor