Blender Git Loki

Blender Git "lineart-shadow" branch commits.

Page: 43 / 76

March 13, 2021, 00:59 (GMT)
Cleanup: redundant outliner includes
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 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)
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 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 compiler warning when building Cycles without Embree
March 13, 2021, 00:59 (GMT)
Cleanup: fix clang-tidy errors when COM_debug is active.
March 13, 2021, 00:59 (GMT)
Cleanup: Compiler warnings with COM_TM_NOTHREAD active.
March 12, 2021, 16:07 (GMT)
Fix else after return and NULL pointer value assignment
March 12, 2021, 16:01 (GMT)
Trigger baking progress bar refresh
March 12, 2021, 15:01 (GMT)
LineArt: Add new frames when no frame existed in modifier
March 12, 2021, 13:59 (GMT)
LineArt: Baking flags for UI.
March 12, 2021, 13:47 (GMT)
LineArt: Unused variable fix
March 12, 2021, 13:28 (GMT)
LineArt: Using object list for baking job
March 12, 2021, 11:32 (GMT)
Lineart: remove TODO in object_ops.c
March 12, 2021, 11:29 (GMT)
LineArt: Fix wrong return value for cheking LRT_GPENCIL_IS_BAKING
March 12, 2021, 11:23 (GMT)
LineArt: change ED_ to MOD_
March 12, 2021, 10:50 (GMT)
Remove the remaining WITH_LINEART cmake variables
March 12, 2021, 05:06 (GMT)
LineArt: Fix desctription string ending.
March 12, 2021, 04:52 (GMT)
LineArt: Baking buttons rename.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021