Blender Git Loki

Kaikki Blender Git kommitit.

Page: 794 / 8462

March 24, 2021, 13:28 (GMT)
Cleanup: Move button context based operator poll into utility function

Using the button context for operators is useful for other cases as well (where
the operator isn't the button operator itself). For example we'll need this for
the asset view UI template, where there will be additional operators that
should be able to act on button context.
March 24, 2021, 13:20 (GMT)
Merge branch 'master' into cycles_procedural_api
March 24, 2021, 13:18 (GMT)
Alembic procedural: deduplicate cached data accross frames

Currently the procedural will add an entry to the cache for every frame
even if the data only changes seldomly. This means that in some cases we
will have duplicate data accross frames.

The cached data is now stored separately from the time information, and
an index is used to retrieve it based on time. This decoupling allows
for multiple frames to point to the same data.

To check if two arrays are the same, we compute their keys using the
Alembic library's routines (which is based on murmur3), and tell the
cache to reuse the last data if the keys match.

This can drastically reduce memory usage at the cost of more processing
time, although processing time is only increased if the topology may
change.
March 24, 2021, 12:54 (GMT)
Support passing operator to invoke on activating or dragging an item

An annoyance is that the operator names have to be passed to the template which
makes the already long argument list even longer.
Thought about a couple of ways to do this, unfortunately this is the only
decent way to do this that I see. There's also no way to pass operator options
currently.

Getting the handling to work correctly took some effort, and the code is not
exactly nice.

Note that even though we activate the item when calling the custom drag
operator (helps indicating the pose being blended for example), we only call
the drag operator then, not the activate one. They are never executed both.

Also note that this won't compile right now, I'll have to commit some changes
to master first.
March 24, 2021, 12:34 (GMT)
Add utilities to temporarily append asset IDs

Uses the new `BLO_library_temp_xxx` functions, but deals with all the asset
specific file path building. This is a reasonable utility for the asset system
to have, it will probably be needed by more asset types than IDs.
March 24, 2021, 12:27 (GMT)
Geometry Nodes: add versioning for attribute fill

The attribute domain of old nodes should be set to `ATTR_DOMAIN_AUTO`.
March 24, 2021, 12:25 (GMT)
Require identifier for asset view template usages

Needed if we want to support multiple different asset views in future.
March 24, 2021, 12:25 (GMT)
Allow getting asset library and active asset handle via context

`CTX_wm_asset_library()` returns the active asset library from the workspace,
or the the Asset Browser one while inside that. The active asset handle is set
by the Asset Browser and the asset view UI template so that operators executed
via the template can access it.
March 24, 2021, 12:09 (GMT)
format
Revision c0a4c8c by Dirk / Jacques Lucke (master)
March 24, 2021, 11:53 (GMT)
Fix T86891: only sort query results for shortest string if there is a query

Differential Revision: https://developer.blender.org/D10802
March 24, 2021, 11:28 (GMT)
Merge branch 'master' into temp-gpencil-io
March 24, 2021, 11:27 (GMT)
March 24, 2021, 11:22 (GMT)
Merge branch 'master' into ui-asset-view-template
March 24, 2021, 10:57 (GMT)
Fix: Memory Leak When Using Compositor.

When using the compositor inlined static vectors could allocate
memory. This memory wasn't freed. This patch would make them inline
again.
March 24, 2021, 10:48 (GMT)
Merge branch 'master' into cycles_procedural_api
March 24, 2021, 10:00 (GMT)
Cleanup: clang-tidy errors.
March 24, 2021, 09:41 (GMT)
Cleanup: unused variable
March 24, 2021, 09:41 (GMT)
Fix T86601: Cycles accumulates displacement when transforming an Object

In order to update the BVH when only the transformations are changing,
we would tag the Object's Geometry as modified. However, when
displacement is used, and the vertices were not themselves modified,
this would cause us to redo the displacement on already displaced
vertices.

To fix this, use a specific update flag for detecting and notifying that
transformations were modified.

Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.
March 24, 2021, 09:29 (GMT)
Fix T86314: materials not updated correctly after collada import

Make sure we have valid links and link pointers using
'ntreeUpdateTree()'.

Maniphest Tasks: T86314

Differential Revision: https://developer.blender.org/D10793
March 24, 2021, 09:19 (GMT)
Cycles: Cleanup, mark argument as unused

Fixes strict compiler warning.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021