Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1240 / 8462

Revision 1b6480e by Hans Goudey (master)
September 29, 2020, 21:21 (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.
September 29, 2020, 20:54 (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
September 29, 2020, 20:48 (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
September 29, 2020, 20:45 (GMT)
API Docs: Correct syntax for bpy.utils.register_class
September 29, 2020, 19:50 (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
September 29, 2020, 19:50 (GMT)
API docs: Fix sytax error for delaunay_2d_cd

Alternative solution to https://developer.blender.org/D8546
Revision c1cdde0 by Ankit Meel (master)
September 29, 2020, 19:46 (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
September 29, 2020, 19:07 (GMT)
September 29, 2020, 17:13 (GMT)
Cleanup: Fix typo in comments.
September 29, 2020, 16:49 (GMT)
Merge branch 'master' into soc-2020-io-performance
September 29, 2020, 16:48 (GMT)
Cleanup: Edit comments, remove unused headers.
September 29, 2020, 16:48 (GMT)
Remove the need to apply modifiers to use render properties.
September 29, 2020, 16:48 (GMT)
Cleanup: edit comments
September 29, 2020, 16:47 (GMT)
Rename curv_num to control_points
September 29, 2020, 16:47 (GMT)
Add more const default variables.
September 29, 2020, 16:47 (GMT)
Fix UI: don't edit frame numbers if animation is disabled.
September 29, 2020, 16:47 (GMT)
Use fputs instead of fprintf for non-formatted strings.
September 29, 2020, 16:41 (GMT)
remove Scene::update_procedurals in favor of using directly the
ProceduralManager
September 29, 2020, 15:08 (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.
September 29, 2020, 15:08 (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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021