Blender Git Commits

Blender Git "lineart-shadow" branch commits.

Page: 55 / 76

October 1, 2020, 13:37 (GMT)
UI: Remove second person in warning message

This phrasing can feel like an accusation, and a simpler phrase
gets across the idea just as well.
October 1, 2020, 13:37 (GMT)
Sculpt: Line Project Gesture tool

This tool projects all vertices to the right of the plane defined by the
line gesture towards the plane. By doing this, this tool can create cuts
and plane surfaces in the mesh without modifying the geometry or using
boolean operations, so it is much faster than bisecting the mesh for
cases where the geometry was going to be remeshed afterwards.

Added as experimental as it does not have icon.

Reviewed By: sergey, Severin

Differential Revision: https://developer.blender.org/D9021
October 1, 2020, 13:37 (GMT)
API Docs: Correct syntax for bpy.utils.register_class
October 1, 2020, 13:37 (GMT)
API Docs: Fix corrupted document of gpu.select.load_id

The Python API document of gpu.select.load_id does not follow rst format.
c.f. https://docs.blender.org/api/current/gpu.select.html

This patch fixes it.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D8547
October 1, 2020, 13:37 (GMT)
Sculpt: Preserve Mesh visibility from edit mode using the Face Sets

Before this change, when users switch from edit mode to sculpt mode, the
entire mesh would be visible. Even if in the edit mesh mode part of it was
set to invisible.

With this change the visibility is preserved, by creating a separate face set
for the visible and invisible parts of the mesh and setting their initial visibility.

Implementation details: This adds a function to initialize a new Face Set
datalayer taking the current mesh visibility into account which is stored
in the ME_HIDE flag of the vertices.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8901
October 1, 2020, 13:37 (GMT)
API docs: Fix sytax error for delaunay_2d_cd

Alternative solution to https://developer.blender.org/D8546
October 1, 2020, 13:37 (GMT)
Fix T81100: ccl::Node: ASan SEGV due to bad pointer

`SOCKET_OFFSETOF` was added in the initial commit {rBec51175f1fd6c91d5}
when `offsetof` [1] was not supported well enough. GCC and LLVM
support it since C++17.

Other two changes: type and size check can be done without creating
an invalid address too.

[1] https://cppreference.com/w/cpp/types/offsetof

Reviewed By: campbellbarton, brecht

Maniphest Tasks: T81100

Differential Revision: https://developer.blender.org/D9042
October 1, 2020, 13:37 (GMT)
October 1, 2020, 13:37 (GMT)
Fix unreported Eisenbug leading to a crash when reading a blend file.

This took more than a day to fully investigate and understand, one of
the reasons being that the probability of the issue to show up was
extremely low, and subjected to very specific random factors.

Root of the issue is that, in some very rare cases, a newly read ID
might get the exact same memory address as the one it had when the blend
file was saved.

In that case, `BKE_workspace_active_set` would return immediately, since
the pointer to the active workspace would remain unchanged. But that
lead to having an unset NULL active layout pointer, which would crash
when attempting to get e.g. the active screen.

For the record, I ran into this when running a specific build (master
with one flag added to the `LIB_ID_CREATE` ones, with value `1 << 3`),
using a specific set of options (`--background --factory-startup -noaudio`),
and passing the .blend file from T80090 as argument.
October 1, 2020, 13:37 (GMT)
Fix (unrepported) utterly broken logic in readfile for Workspaces.

Remove the attempt to update the active layout pointers of each window
from whithin `direct_link_workspace`.

This piece of code was a nonsense for at least to critical reasons:
* Do not, never, ever, access data from another datablock within the
direct_link_... functions. Just don't. Don't try to be smart.
* Since it was trying (and failing) to update the active layout of every
window for every workspace, it was effectively setting those
`act_layout` pointers to NULL (remapping can only ever happen once,
trying to remap and already remapped new pointer is bound to fail in
any case).

Luckily (and funnily), this piece of code was actually harmless, since
setting the active layout would be overridden/redone later, in
`lib_link_windowmanager`, when updating their `workspace_hook` in
`lib_link_workspace_instance_hook`.

Note that the similar horror with `WorkSpaceDataRelation->parent` (which
points at a window) is kept for now, because that one is needed. Hope to
refactor it soon though.
October 1, 2020, 13:37 (GMT)
Property Search: Set expansion properly for child panels

Although I haven't seen this cause any visible errors, there is some
incorrect handling for setting panel expansion during search:
- Properly check if child panel is active first
- Don't stop traversal at headerless panels that could theoretically
have children
September 29, 2020, 14:16 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
September 27, 2020, 11:15 (GMT)
LineArt: 2d Intersection function ratio check improvements.
September 27, 2020, 07:13 (GMT)
LineArt: Deg representation of crease threashold.
September 27, 2020, 04:58 (GMT)
LineArt: Reliable line type determination.
September 27, 2020, 03:38 (GMT)
LineArt: Better logic for usage flags.
September 27, 2020, 03:02 (GMT)
LineArt: Collection "no intersection" flag
September 27, 2020, 02:45 (GMT)
LineArt: Object "No Intersection" flag.
September 26, 2020, 23:56 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
September 25, 2020, 13:33 (GMT)
LineArt: Fix rna_lineart_auto_update_set() error
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021