Blender Git Loki

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

Page: 19 / 26

July 30, 2021, 14:51 (GMT)
Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")

This shows the text as part of the assertion message.
July 30, 2021, 14:51 (GMT)
Keymap: use Shift-Tab to toggle snap in the sequencer

Match the same shortcut for the 3D view & UV editor.
July 30, 2021, 14:51 (GMT)
Cleanup: LayerCollection resync: Proper `r_` prefix for return function parameter.
July 30, 2021, 14:51 (GMT)
Keymap: use Alt-Q instead of D for transfer mode operator

This now works in all modes (not just sculpt) and activates on press
instead of release. See design task T89757.
July 30, 2021, 14:51 (GMT)
macOS/glog: Silence syscall deprecation warning

Upstream will release the fix in 0.6 which will take time.
Silence two warnings.

Differential Revision: https://developer.blender.org/D11246
July 30, 2021, 14:51 (GMT)
Add support for RISC-V architecture

* On RISC-V GCC 10.3 does not define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n.
* Avoid a build error
"Please add support for your platform in build_config.h"
Cf: https://github.com/sergeyvfx/libNumaAPI/pull/3

Differential Revision: https://developer.blender.org/D11910
July 30, 2021, 14:51 (GMT)
Fix T88188: Allow keyframing vertex mass in cloth sim

Update vertex weights between simulation steps if they have changed.
This allows for animated vertex weights in the cloth sim.

Reviewed By: Sebastian Parborg

Differential Revision: https://developer.blender.org/D11640
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)
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)
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021