Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1019 / 8462

January 5, 2021, 17:37 (GMT)
Fix T83925: Crash when rendering on the CPU with OptiX denoiser enabled

Rendering on the CPU uses the Embree BVH layout, whether the OptiX denoiser is enabled or not.
This means the "build_bvh" function gets a "BVHEmbree" object to fill and not a "BVHMulti" as it
was assuming before, which caused crashes due to memory geting overwritten incorrectly. This
fixes that by redirecting Embree BVH builds to the Embree device.

Manifest Tasks: T83925
Revision 491a9e9 by Bastien Montagne (master)
January 5, 2021, 17:21 (GMT)
Cleanup: Undo code: `poll` function.

Remove obviously outdated comment, and explictely set `poll` to `NULL`
in the one case it is not actually defined (sculpt undo).
Revision 90a26f9 by Bastien Montagne (master)
January 5, 2021, 17:21 (GMT)
Cleanup: UndoType: use `size_t` for memory size of structs.
January 5, 2021, 17:12 (GMT)
Fix crash with custom input curves versioning
January 5, 2021, 16:59 (GMT)
Fix T83915: Subdivision Surface modifier causes visual artifacts in Cycles rendered viewport - CPU and OptiX

Changing the geometry in the current scene caused the primitive offsets for all geometry to
change, but the values would not be updated in all bottom-level BVH structures. Rendering
artifacts and crashes where the result. This fixes that by ensuring all BVH structures are
updated when the primitive offsets change.
January 5, 2021, 16:53 (GMT)
Fix warnings and windows build
January 5, 2021, 16:52 (GMT)
Merge branch 'master' into sculpt-dev
Revision e7f75a3 by Antonio Vazquez (temp-gpencil-interpolate)
January 5, 2021, 16:19 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
Revision e01fb74 by Antonio Vazquez (greasepencil-object)
January 5, 2021, 16:17 (GMT)
Merge branch 'master' into greasepencil-object
January 5, 2021, 16:04 (GMT)
Fix T84389: RGB Curves node shows "tone" option outside of compositor

Since the introduction in rB4de7c0c3105a, the option is only used in the
compositor, it has no effect elsewhere [texture nodes, shader nodes].

Now only show the option for the compositor.

Maniphest Tasks: T84389

Differential Revision: https://developer.blender.org/D10005
January 5, 2021, 16:04 (GMT)
Cleanup: clang tidy
January 5, 2021, 15:56 (GMT)
Starting the unit tests
January 5, 2021, 15:50 (GMT)
Fix: tried to set error message on modifier that does not exist

Without this, the example file in T83730 crashes in a debug build
when deleting the hair edit bake in the particle settings.
January 5, 2021, 15:34 (GMT)
Compositor: Alpha Mode

{D9211} introduced pre-multiplying the color for the keying node. This
pre-multiplication should also be done by other keying nodes and should be
the default operation for alpha node.

This patch will change the logic of keying nodes (Cryptomatte Node,
Channel Matte, Chroma Matte, Color Matte, Difference Matte, Distance
Matte, Luminance Matte) and breaks old files.

The Set alpha node has a mode parameter. This parameter changes
the logic to `Apply Mask` the alpha on the RGBA channels of the input color
or only replace the alpha channel (old behavior).

The replace mode is automatically set for older files. When adding
new files the the multiply mode is set.

Reviewed By: Sergey Sharybin

Differential Revision: https://developer.blender.org/D9630
January 5, 2021, 15:17 (GMT)
Fix T83282: division by zero when creating psys tasks
January 5, 2021, 14:50 (GMT)
Cleanup: Compositor comment style
January 5, 2021, 14:31 (GMT)
Fix T84367: Fix crash when showing invalid/legacy constraints

Exposed by rBeaa44afe703e.

Definition for CONSTRAINT_TYPE_NULL is not totally clear (it is set for
constraints without data, see an old comment from Ton), but for these, a
TypeInfo cannot be fetched.

Avoid processing those constraints in UI code, just do nothing instead.

Maniphest Tasks: T84367

Differential Revision: https://developer.blender.org/D9987
January 5, 2021, 14:03 (GMT)
Eevee Cryptomatte: Store hashes in render result meta data

Stores cryptomatte hashes as meta data to the render result. Compositors could
use this for lookup on names in stead of hashes.

Differential Revision: https://developer.blender.org/D9553
January 5, 2021, 12:53 (GMT)
Fix T84053: Mask overlay in image editor not working

The mask overlay wasn't part of the overlay engine. The reasoning nehind
this was that more editors used the mask overlay and most of them used
old drawing code. This patch adds the mask overlay drawing to the draw
overlay engine. This code path will only be used by the image editor
VSE, Compositor and Movie Clip editor will still use the previous
method.

During this patch some alternatives have been researched:
1. `ED_mask_draw_region`: this would lead to different code paths when
drawing in the image editor, and some hacks to retrieve the correct
framebuffer.
2. Add mask drawing to image engine: Would lead to incorrect color
management when viewing the mask.
3. Add mask drawing to image engine and overlay engine: Would lead to
duplicated code.
4. Add mask drawing to overlay engine and for combined overlay select
the correct framebuffer.

Option 4 was chosen as the exception (switching framebuffers) can be
done without hacks. The code stays clean.
January 5, 2021, 12:46 (GMT)
Fix T84404: Crash when using Skin Resize in mesh without Skin modifier

Caused by rB54ee4109143b

Before that commit `TD_SKIP` was marked for all vertices.

Now skip the whole operation as all vertices are skipped.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021