Blender Git Loki

Blender Git "lineart-bvh" branch commits.

Page: 27 / 49

October 3, 2020, 03:38 (GMT)
LineArt: Fix uncaught memory leak in stroke generation.
October 3, 2020, 03:34 (GMT)
LineArt: Option for matching input/output vertex group names.
October 3, 2020, 02:57 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
October 2, 2020, 08:58 (GMT)
LineArt: CD_MDEFORMVERT flag in viewport evaluation.
October 2, 2020, 07:08 (GMT)
LineArt: Fixed render vert linking in intersection stage.
October 2, 2020, 06:46 (GMT)
LineArt: vertex group data matching.
October 2, 2020, 05:38 (GMT)
LineArt: data copying and mofifier UI for vgroup.
October 2, 2020, 04:47 (GMT)
LineArt: Vertex group data structure changes.
October 2, 2020, 04:03 (GMT)
LineArt: GPencil modifier API changes.
October 2, 2020, 03:49 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
October 1, 2020, 13:38 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp

# Conflicts:
# source/blender/python/mathutils/mathutils_Matrix.c
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
October 1, 2020, 13:37 (GMT)
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)
API docs: Fix sytax error for delaunay_2d_cd

Alternative solution to https://developer.blender.org/D8546
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)
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)
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)
API Docs: Correct syntax for bpy.utils.register_class
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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021