Blender Git Loki

Kaikki Blender Git kommitit.

Page: 14 / 8462

December 22, 2021, 16:53 (GMT)
Cleanup: Remove debug print.
December 22, 2021, 16:50 (GMT)
Fix (unreported) potential bug in collections parenting update code.

Own mistake in rB2ef192a55b2c. Did not seem to have any visible effect
though...
December 22, 2021, 16:39 (GMT)
Cleanup: Use `LISTBASE_FOREACH_` macros.
December 22, 2021, 16:34 (GMT)
Fix T93799: Outliner: Remaping objects could result in duplicates in a collection.

Fix is similar to how CollectionObject with NULL object pointers are handled.

Using one of the 'free' pad bytes in Object_Runtime struct instead of a
gset (or other external way to detect object duplicates), as this is
several times faster.

NOTE: This makes remapping slightly slower again (adds 10 extra seconds
to file case in T94059).

General improvements of remapping time complexity, especially when
remapping a lot of IDs at once, is a separate topic currently
investigated in D13615.
December 22, 2021, 16:03 (GMT)
Fix part of T93799: Outliner: Remap Users crash (for `ID Type` `Object`).

This commit fixes the crash itself, however this can still lead to a
same collection 'owning' the same object several time.

Issue here was a bad assumption in layer resync code, that would lead to
removing valid objects from the viewlayer's `object_bases_hash` in
`BKE_layer_collection_sync`, when deleting no-more-used bases, in case
of bases duplicate.
December 22, 2021, 15:39 (GMT)
Fix: Build issue on 32 bit archs

The cast to size_t leads to a build issue on 32
bit archs. cursor_delim_type_utf8 expects an int
so an additional cast to size_t is not required.

Reported by user frispete on devtalk.
December 22, 2021, 15:17 (GMT)
Merge branch 'master' into greasepencil-object
December 22, 2021, 15:17 (GMT)
Merge branch 'master' into asset-greasepencil
December 22, 2021, 15:07 (GMT)
Fix T93999: GPencil Box tool allows decreasing subdiv, but not increase

The problem was the number of points for each edge of the box was wrong and the wheelmouse effect was anulated.

Also fixed the value displayed in the status bar to keep consistency with subdivision value.

Reviewed By: lichtwerk

Maniphest Tasks: T93999

Differential Revision: https://developer.blender.org/D1363
Revision dbbf0e7 by Hans Goudey (master)
December 22, 2021, 14:52 (GMT)
Nodes: Improve node tree copy performance

When copying a full node tree, we can avoid an O(n^2) loop finding a
unique name for every node if we assume they already have unique names.
That is a reasonable assumption, since unique names are verified
elsewhere when adding a new node.

Copying a node tree with about 4000 nodes took 42 ms before,
now it takes 6 ms.

Differential Revision: https://developer.blender.org/D13644
Revision fdc4a1a by Hans Goudey (master)
December 22, 2021, 14:47 (GMT)
Nodes: Refactor to remove node and socket "new" pointers

These pointers point to the new nodes when duplicating,
and their even used to point to "original" nodes for
"localized" trees. They're just a bad design decision
that make code confusing and buggy.

Instead, node copy functions now optionally add to a map
of old to new socket pointers. The case where the compositor
abused these pointers as "original" pointers are handled
by looking up the string node names.

Differential Revision: https://developer.blender.org/D13518
December 22, 2021, 12:16 (GMT)
Geometry Nodes: improve multi socket handling in evaluator

Previously, the values passed to a multi-input socket were stored
in the order that they arrived in. Then, when the values are accessed,
they are sorted depending on the link order.

Now, the ordering is determined in the beginning before execution starts.
Every value is assigned to the right index directly, avoiding the sort
in the end. This makes the ordering more explicit.
December 22, 2021, 08:28 (GMT)
Fix T94295: VSE fades error when no suitable sequences selected

This errored out in two scenarios:
- current frame not in strips framerange (this was reported)
- no strips selected at all

Now handle these cases properly in the operator and give appropriate
report info.

Maniphest Tasks: T94295

Differential Revision: https://developer.blender.org/D13642
Revision d2bf60c by Hans Goudey (master)
December 21, 2021, 20:32 (GMT)
Cleanup: Clang tidy, restore alphabetical sorting
December 21, 2021, 16:57 (GMT)
Updates after change in master, cleanup
December 21, 2021, 16:51 (GMT)
USD Preview Surface material export.

Added "USD Preview Surface From Nodes" export option,
to convert a Principled BSDF material node tree to an
approximate USD Preview Surface shader representation.

Also added the following options for texture export.

Export Textures: If converting Preview Surface, export
textures referenced by shader nodes to a 'textures'
directory next to the USD file.

Overwrite Textures: Allow overwriting existing texture
files when exporting textures (this option is off by
default).

Relative Texture Paths: Save material texture asset
paths as relative paths in the USD.

USD export format fixes.

USD export: fixed typo in comparison.

Differential Revision: https://developer.blender.org/D13647
December 21, 2021, 16:37 (GMT)
Merge branch 'master' into temp-vert-normals-cleanup
December 21, 2021, 16:36 (GMT)
USD export: fixed typo in comparison.
December 21, 2021, 16:31 (GMT)
Sculpt-dev: New displacement heal brush

This brush goes through all
the grids inside each PBVH node under
the brush, converts coordinates to
tangent space, filters out extreme displacements
and then converts back.

Simple, but very effective.

TODO: make this into a mesh filter too.
December 21, 2021, 16:00 (GMT)
Fix T94191: correct (time) translation headers not showing DeltaX

Caused by {rBb0d9e6797fb8}

For the header (both Graph Editor case in general `headerTranslation` as
well as `headerTimeTranslate`) we are interested in deltas values
(not absolute values).

Since culprit commit, `snapFrameTransform` was not working with deltas
anymore, but we have to compensate for this.

For the Graph Editor, this only worked "by accident" in rB7192e57d63a5,
since `ival` is still zero at this point.

So now, reacquire the delta right after the snap operation.

Also use a more appropriate center value in the translate operator.

Maniphest Tasks: T94191

Differential Revision: https://developer.blender.org/D13641
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021