Blender Git Commits

Blender Git commits from all branches.

Page: 422 / 2888

April 13, 2021, 17:00 (GMT)
Fix compile error when using UIList template flags in C++

C++ has strongly typed enums (which is great!), so a bitwise OR on two
enum values will result in a compiler error. Use our `ENUM_OPERATORS()`
utility to overload the bitwise operations to be valid for this strong
enum type.
April 13, 2021, 17:00 (GMT)
Address small review comments from Jacques
April 13, 2021, 16:52 (GMT)
Merge branch 'master' into temp-spreadsheet-row-filter
April 13, 2021, 16:00 (GMT)
Cycles: Use easier to debug match check

Use DCHECK_EQ(foo, bar) instead of assert(foo == bar) which makes it
easier to see what exactly went wrong by looking on numbers. Before
it was required to re-run Blender to see what was actual and expected
values.
April 13, 2021, 16:00 (GMT)
Cycles: Vectorize math in get_pass_rect

Should give some time advantage when accessing passes.
Hard to measure though, but this feels to be the right thing to do
nevertheless.
April 13, 2021, 16:00 (GMT)
Cycles: Make it possible to handle unaligned float3 passes

Currently unused, preparing code to generalize denoising passes.
April 13, 2021, 16:00 (GMT)
Cycles: Fix divide pass types stuck forever in viewport render

Once the viewport display was set to a pass which requires a divide
type the divide type pass would have been never removed from passes.
This was causing some issue in the light pass handling. resulting in
wrong render result when viewport was toggled back to combined pass.
April 13, 2021, 16:00 (GMT)
Cycles: Fix and improve behavior of SessionParams::modified

The check around denoising.use seemed to be wrong: seems to be a
mistake of trying to inline check for an effective value of the
new parameters denoiser usage (with device support taken into
account).

Additionally, don't compare denoising parameters if the denoising
is not used. This way it is possible to modify denoiser settings
before enabling it, which is handy in the complex files.
April 13, 2021, 16:00 (GMT)
Cycles: Move denoising passes to generic passes routines

The change makes it so denoising passes are handled in the same exact
way as "regular" passes are, allowing to get rid of some exceptions in
the code.

The current downside is that if OptiX denoiser is requested and is not
supported by the platform the passes will still be allocated. I'd say
that behavior in this case needs to be revisited: either fallback to
the OpenImageDenoiser (similar to how unsupported GPU Compute falls
back to CPU) or to move support checks in a centralized place. The one
thing which could help here is moving denoiser parameters from Session
to Scene.

The immediate benefit is that the special access to the denoiser passes
in the Buffers is no longer needed.

After this change it will also be possible to save up memory by not
allocating passes which are not needed for the denoiser: for example if
denoiser does not use normals there is no need to allocate pass for
them.
April 13, 2021, 15:34 (GMT)
fix compilation errors
April 13, 2021, 15:21 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
April 13, 2021, 15:21 (GMT)
Merge branch 'master' into greasepencil-object
April 13, 2021, 15:06 (GMT)
Action preview rendering: properly tag the object when done

Rendering a preview for an Action requires temporarily modifying the pose
of some object (otherwise there is nothing to render); after this is done,
the object needs to be tagged correctly to flush the temporary changes.
April 13, 2021, 14:49 (GMT)
progress
April 13, 2021, 14:40 (GMT)
Merge branch 'master' into virtual-array-attributes
April 13, 2021, 14:30 (GMT)
GPencil: More refactor - remove stroke flags
April 13, 2021, 14:14 (GMT)
GPencil: Add flag to refit function
April 13, 2021, 14:11 (GMT)
USD/ABC Import: CacheReader function naming.

Renamed CacheReader related functions to use the ABC_ or USD_
prefixes consistently.
April 13, 2021, 14:11 (GMT)
GPencil: Refactor of geometry update II

April 13, 2021, 13:58 (GMT)
GPencil: Fix compiler error with Enum

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021