Blender Git Commits

Blender Git "soc-2021-porting-modifiers-to-nodes-decimate" branch commits.

Page: 17 / 18

July 30, 2021, 14:51 (GMT)
Assets: Add an active asset library per workspace, for the UI to use

This per-workspace active asset library will be used by the asset views
later. Note that Asset Browsers have their own active asset library,
overriding the one from the workspace.

As part of this the `FileSelectAssetLibraryUID` type gets replaced by
`AssetLibraryReference` which is on the asset level now, not the
File/Asset Browser level. But some more work is needed to complete that,
which is better done in a separate commit.
This also moves the asset library from/to enum-value logic from RNA to
the editor asset level, which will later be used by the asset view.
July 30, 2021, 14:51 (GMT)
Cleanup: LayerCollection resync code.

Mainly naming (also droping the `layer_collection` in favor of just
`layer` for internal code, this is clear enough and much shorter). Add
proper parent/child identifiers, `r_` prefix for parameters also used as
return values, etc.

Also made some parameters const.
July 30, 2021, 14:51 (GMT)
Fix: Subtitles: Order of channels in the .blend file will be kept in the .rst file.

If text strips have the same start frame but are stacked on top of each
other in different channels the order in which they are written in the
.rst file was random before.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11903
July 30, 2021, 14:51 (GMT)
Geometry Nodes: dim links whose start and end sockets are not visible

This makes node trees with long links that cross other nodes easier to work with.
Dimmed links will be ignored by various modal operators like cut and reroute insertion.

Differential Revision: https://developer.blender.org/D11813
July 30, 2021, 14:51 (GMT)
Fix: crash when creating new node links

This was a regression in rBc27ef1e9e8e663e02173e518c1e669e9845b3d1f.
July 30, 2021, 14:51 (GMT)
Revert "Keymap: use D-Key for view-pie menu"

This reverts commit f92f5d1ac62c66ceb7a6ac1ff69084fbd5e3614a.

See: T89757 for rationale for reverting this change.
July 30, 2021, 14:51 (GMT)
Library loading: Fix access of out-of-scope memory in py context manager

The `__enter__` function of the `bpy.data.libraries.load` context manager
was storing a pointer to a stack-allocated variable, which was subsequently
used in the `__exit__` function, causing a crash. This is now fixed.

Thanks @Severin for the patch.
July 30, 2021, 14:51 (GMT)
Assets: Expose active asset library in context

For the Asset Browser, this returns the active asset library of the
Asset Browser, otherwise it returns the one active in the workspace.

This gives simple access to the active asset library from UI code and
Python scripts. For example the upcoming Pose Library add-on uses this,
as well as the upcoming asset view template.
July 30, 2021, 14:51 (GMT)
CMake: update config for checking utility
July 30, 2021, 14:51 (GMT)
deps_builder: zstd 1.5.0

Having zstd available is a requirement for landing D5799

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D11079
July 30, 2021, 14:51 (GMT)
GHOST/wayland: create mmap-ed file manually if memfd_create is unavailable
July 30, 2021, 14:51 (GMT)
BLI_memarena: support merging memory arenas

Useful when thread-local storage has it's own memory arena containing
data which is kept after the multi-threaded operation has finished.
July 30, 2021, 14:51 (GMT)
BLI_task: add a callback to initialize TLS

Useful when TLS requires it's own allocated structures.
July 30, 2021, 14:51 (GMT)
Cleanup: ensure one newline at end of file, strip trailing space
July 30, 2021, 14:51 (GMT)
Bezier Spline: Add a more generalized insertion utility

This logic is from the curve sundivide node, used to add points with
proper handles in between two existing points. However, the same logic
is used for trimming of Bezier splines, and possibly interactive point
insertion in the future, so it's helpful as a general utility.

The logic is converted to depend on a bezier spline instead of being
static. A temporary segment spline can be used for the latter use case.
July 30, 2021, 14:51 (GMT)
CMake: Have CMake Control the C++ version.

We were manually setting the compiler flags
for C++17 support for this previously. CMake
can do this for us in a uniform way without
having to worry about compiler specifics.

Setting these flags manually somehow brought
out some unwanted behaviour (CMake switching
back to C++14) in the nightly CMake builds.

Unsure if that's a CMake bug or planned
new behaviour for future version, but best
to play it safe.

These flags are supported since CMake 3.1
so should not break anything.

Reviewed by: Campbell Barton

Differential Revision: https://developer.blender.org/D11891
July 14, 2021, 21:56 (GMT)
Changes based on review by Jacques Lucke (JacquesLucke)
July 14, 2021, 17:42 (GMT)
Merge branch 'master' into soc-2021-porting-modifiers-to-nodes-decimate

# Conflicts:
# source/blender/blenkernel/BKE_node.h
July 9, 2021, 08:30 (GMT)
Merge branch 'master' into soc-2021-porting-modifiers-to-nodes-decimate

# Conflicts:
# release/scripts/startup/nodeitems_builtins.py
# source/blender/blenkernel/BKE_node.h
# source/blender/blenkernel/intern/node.cc
July 9, 2021, 08:18 (GMT)
Renamed Limittypes from Face to Border and from Edge to Selection
because you can use them with different domains and the real difference
is how it uses this data.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021