Blender Git Loki

Kaikki Blender Git kommitit.

Page: 159 / 8462

October 18, 2021, 13:48 (GMT)
Asset Library Service: fix failing unit test

On GCC in release mode (and maybe also debug mode without ASAN enabled),
allocating an `AssetLibraryService` will reuse the space that should
have just been freed. This made a test fail, as it was testing that new
memory was allocated and not some old instance reused.

To ensure that the calls that should allocate a new block of memory
return a unique pointer, I added some dummy allocation to the test.

No functional changes to Blender
October 18, 2021, 13:24 (GMT)
Geometry Nodes: Add shader Musgrave texture node

Port shader node musgrave texture

Differential Revision: https://developer.blender.org/D12701
October 18, 2021, 13:22 (GMT)
Nodes: support sharing node declarations between nodes

Previously, every node had its own declaration. This isn't ideal, because
it's often the case that all nodes of the same type have the same declaration.
That's the case for all nodes using declarations currently. It will not be true
for e.g. group nodes in the future.

Sharing node declarations between nodes makes it a bit more efficient.

Differential Revision: https://developer.blender.org/D12898
October 18, 2021, 13:15 (GMT)
Fix T92250 EEVEE: Render crash with Motion Blur and Overscan

This was caused by `DRW_view_data_texture_list_size_validate` which now
delete everything from the render engine.

This might change in the future but for now we just avoid calling it from
the render loop (when using DRW_cache_restart).
October 18, 2021, 13:01 (GMT)
Fix T79005: Vertex color conversion operators changing the colors

CD_PROP_COLOR vertex data is stored in scene linear while legacy vertex
colors are srgb, so both operators also need to do this conversion

Reviewed By: sergey

Maniphest Tasks: T79005

Differential Revision: https://developer.blender.org/D8320
October 18, 2021, 12:36 (GMT)
Animation: Motion Paths Refresh All

Adds a button, Update All Paths, to the Motion Paths property tabs and
will always show. The operator goes through all visible objects and
updates their motion paths.

The current implementation has a subtle functional change. Calculating
or updating motion paths for armature objects (through the Object tab,
not Armature tab) now also updates the paths for its bones. We could
preserve the old behavior but it doesn't seem necessary. It seems more
likely that the animator wants to update both anyways.

Reviewed by: sybren

Maniphest Tasks: T83068

Differential Revision: https://developer.blender.org/D11667
October 18, 2021, 12:21 (GMT)
Assets: add global `bke::AssetLibraryService` class

Add `blender::bke::AssetLibraryService` class that acts like a
blendfile-scoped singleton. It's allocated upon the first call to
`BKE_asset_library_load` and destroyed in the LOAD-PRE handler.

The `AssetLibraryService` ensures that edits to asset catalogs are not
lost when the asset browser editor closes (or even reloads). Instead,
the `AssetLibrary` pointers it owns are kept around as long as the blend
file is open.

Reviewed By: Severin

Maniphest Tasks: T92151

Differential Revision: https://developer.blender.org/D12885
October 18, 2021, 11:45 (GMT)
Geometry Nodes: Endpoint Selection Nodes

The Endpoint Selection node allows for the Selection of an aribitrary
number of endpoints from each spline in a curve. The start and end
inputs are evaluated on the spline domain. The result is outputted
as a boolean field on the point domain.

Differential Revision: https://developer.blender.org/D12846
October 18, 2021, 10:58 (GMT)
Fix: missing use-attribute property in geometry nodes modifier

The property was missing when a group input changed from not
supporting fields to supporting fields.
October 18, 2021, 10:44 (GMT)
Sculpt: Implement accumulate for paint and
other fixes

* The paint brush now supports accumulate.
* Fixed bug with PBVH_FACES not setting
MSculptVert update flags correctly in
face set draw brush.
* Topology rake now has a mode where it
simply propegates directions from
boundaries.
October 18, 2021, 09:59 (GMT)
Nodes: add default value to string socket declaration

Differential Revision: https://developer.blender.org/D12758
October 18, 2021, 09:46 (GMT)
Geometry Nodes: decouple multi-function lifetimes from modifier

Previously, some multi-functions were allocated in a resource scope.
This was fine as long as the multi-functions were only needed during
the current evaluation of the node tree. However, now cases arise
that require the multi-functions to be alive after the modifier is finished.
For example, we want to evaluate fields created with geometry nodes
outside of geometry nodes.

To make this work, `std::shared_ptr` has to be used in a few more places.
Realistically, this shouldn't have a noticable impact on performance.
If this does become a bottleneck in the future, we can think about ways
to make this work without using `shared_ptr` for multi-functions that
are only used once.
October 18, 2021, 08:29 (GMT)
Fix T91700: Strips can be transformed in scope display modes

Hide gizmos & prevent transform & selection in scope display.
October 18, 2021, 08:12 (GMT)
Merge branch 'master' into asset-greasepencil
October 18, 2021, 07:42 (GMT)
Keymap: support key-activates-tools for shrink-fatten
October 18, 2021, 06:41 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
October 18, 2021, 06:20 (GMT)
Cleanup: use depends-on-cursor for "Object Transfer Mode" operator

Replace modal operator with the OPTYPE_DEPENDS_ON_CURSOR flag.

This has the advantage of showing the shortcut in the menu.
October 18, 2021, 06:18 (GMT)
WM: support setting the operators idle cursor

Support setting a cursor when an operator is waiting for input.
October 18, 2021, 06:09 (GMT)
Cleanup: de-duplicate operator registration

Operators and operator-macros duplicated RNA properties.
October 18, 2021, 06:09 (GMT)
UI: expose additional cursors to the Python API
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021