Blender Git Commits

Blender Git commits from all branches.

Page: 486 / 2888

March 13, 2021, 00:59 (GMT)
Cleanup: document `FileSelectAssetLibraryUID::type`

No functional changes.
March 13, 2021, 00:59 (GMT)
Cleanup: Compiler warnings with COM_TM_NOTHREAD active.
March 13, 2021, 00:59 (GMT)
Cleanup: fix clang-tidy errors when COM_debug is active.
March 13, 2021, 00:59 (GMT)
Fix compiler warning when building Cycles without Embree
March 13, 2021, 00:59 (GMT)
Fix another crash in LibOverride resync code.

Another case where newly overridden ID (stored in `newid` of its linked
reference) gets immediately deleted in old broken overrides.

Re T86501.
March 13, 2021, 00:59 (GMT)
Fix T82532: Sculpt fails to redo the first sculpt session stroke

Sculpt undo relied on having a mode-changing undo step to properly
apply changes.

However this isn't the case with startup files or when mixing
global undo steps with sculpt (see T82851, also fixed).

Undo stepping logic follows image_undosys_step_decode_undo.
March 13, 2021, 00:59 (GMT)
Fix heap buffer overflow appending/linking from a blend file

Add new function `blo_bhead_is_id_valid_type()` to correctly check the
blend file block type.

File block type codes have four bytes, and two of those are only in use
when these blocks contain ID datablocks (like `"OB "`). However,
there are other types defined in `BLO_blend_defs.h` that have four
bytes, like `TEST`, `ENDB`, etc.

The function `BKE_idtype_idcode_is_valid(short idcode)` was used to
check for ID datablocks while reading a blend file. This only takes a
2-byte parameter, and thus its result is invalid for the 4-byte codes.
For `TEST` blocks, it would actually consider it a `TE` block, which is
a valid identifier for a Texture. This caused the heap buffer overflow,
as the datablock is not a valid ID, and thus the bytes that were
expected to form an ID name actually encode something completely
different.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D10703
March 13, 2021, 00:59 (GMT)
CLOG: add support for substring matching.

So that `--log "*undo*"` matches any log identifier containing `undo`.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D10647
March 12, 2021, 22:33 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
March 12, 2021, 22:33 (GMT)
GPencil: Small refactor, no functional changes
March 12, 2021, 22:32 (GMT)
GPencil: Transform code for bezier strokes

This commits implements transformations for both poly and bezier strokes.

Every control point is treated as a stroke point (with some exceptions).
This also refactors some of the old transform code to be a bit
more readable.
March 12, 2021, 20:57 (GMT)
Merge branch 'master' into sculpt-dev
March 12, 2021, 19:14 (GMT)
GPencil: Set Stroke Type UI
March 12, 2021, 19:13 (GMT)
GPencil: Set stroke type operator
March 12, 2021, 19:06 (GMT)
Merge remote-tracking branch 'origin/master' into usd-importer-T81257-merge
March 12, 2021, 18:42 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
March 12, 2021, 17:00 (GMT)
Cycles: Ensure there is always a single-device

Previously enabling denoising will create a multi-device with a single
sub-device. This broke assumptions in PathTracer about the fact that we
only support single device at this point.

Fixes bad render buffers pointer passed to CUDA kernels when denoising
is enabled.
March 12, 2021, 17:00 (GMT)
Cycles: Fix denoiser not working after recent changes

The change which introduced check of denoising parameters made it
so denoiser in PathTrace was never created: constructor was checking
denosiing parameters with self.

For now use a special function from constructor which ensures
initialization is fully done correctly.

In the coming future the synchronization and locks will be redone,
so while this is a bit annoying change it is only to unlock current
development.
March 12, 2021, 16:45 (GMT)
GPencil: Remove unused keymap
March 12, 2021, 16:45 (GMT)
GPencil: Rename macro

Rename the GPENCIL_STROKE_IS_CURVE macro to GPENCIL_STROKE_TYPE_BEZIER
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021