Blender Git Loki

Kaikki Blender Git kommitit.

Page: 66 / 8462

November 23, 2021, 21:15 (GMT)
Cleanup: unused variable
November 23, 2021, 21:11 (GMT)
Fix (unreported): Local preview icons not loading

Bug introduced in {rB9d7422b817d1}.

The solution is not an init thread for preview tasks that won't complete.
November 23, 2021, 18:45 (GMT)
Clang Tidy: ignore some passes that changed or were added in version 13

I get hundreds of clang-tidy errors without ignoring those passes right now.
To not forget about the passes, I added them to T78535.
November 23, 2021, 18:38 (GMT)
Cleanup: clang tidy

The parameter name was inconsistent with the declaration.
November 23, 2021, 18:04 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 18:03 (GMT)
Fix (unreported): unlinked group input is not logged in geometry nodes

Differential Revision: https://developer.blender.org/D13340
November 23, 2021, 17:57 (GMT)
Asset: Merge asset library/list refresh operators

In rBdcdbaf89bd11, I introduced a new operator
(`file.asset_library_refresh()`) to handle Asset Browser refreshing more
separate from File Browser refreshing. However, there already was
`asset.asset_list_refresh()`, which at this point only works for asset
view templates, but was intended to cover the Asset Browser case in
future too. This would happen once the Asset Browser uses the asset list
design of the asset view template.

So rather than having two operators for refreshing asset library data,
have one that just handles both cases, until they converge into one.
This avoids changes to the Python API in future (deprecating/changing
operators).

Differential Revision: https://developer.blender.org/D13239
November 23, 2021, 17:51 (GMT)
Clean-up: Fix BLI_rect.h collision with windows.h

windows.h `#defines rct1` as a number which is
problematic if we include `BLI_rect.h` after
`windows.h` .

by renaming `rct1/2` to `rct_a/b` we side step
the collision and straighten up the naming with
the functions directly above it.
Revision 62b50c6 by Hans Goudey (master)
November 23, 2021, 17:49 (GMT)
Cleanup: Else after return, other simplifications

`std::stringstream` already returns a `std::string`, and there is no
particular reason to use short here instead of int.
November 23, 2021, 17:40 (GMT)
Asset: Merge asset library/list refresh operators

In rBdcdbaf89bd11, I introduced a new operator
(`file.asset_library_refresh()`) to handle Asset Browser refreshing more
separate from File Browser refreshing. However, there already was
`asset.asset_list_refresh()`, which at this point only works for asset
view templates, but was intended to cover the Asset Browser case in
future too. This would happen once the Asset Browser uses the asset list
design of the asset view template.

So rather than having two operators for refreshing asset library data,
have one that just handles both cases, until they converge into one.
This avoids changes to the Python API in future (deprecating/changing
operators).

Differential Revision: https://developer.blender.org/D13239
November 23, 2021, 17:35 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 17:34 (GMT)
Fix broken handling of constraints reordering with library overrides

Alternative to D13291 (description partially copied from there).

New drag & drop reordering code would call constraints reordering
operator with the generic context, and not the one from the panel's
layout. missing the "constraint" member which is mandatory for poll
function to properly deal with override vs. local constraints.

For this to work in a decent way, there needs to be some panel-wide
context that we can restore when executing callbacks outside of the
normal draw context. So similar to uiLayoutSetContextPointer() to set
context on a layout level, this introduces
UI_panel_context_pointer_set() for panel level context (this calls the
former for the current panel root layout as well).

Differential Revision: https://developer.blender.org/D13308
November 23, 2021, 17:04 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 17:03 (GMT)
Fix: The bounding box gizmo breaks if transform pivot is set to cursor

The bounding box transform code assumed that the pivot would always be
the sequence object transform center.

Rework the code so that this assumption is true even if the general
transform pivot is set to be the 2D cursor.
November 23, 2021, 16:59 (GMT)
Merge branch 'master' into temp-geometry-nodes-text
November 23, 2021, 16:52 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 16:48 (GMT)
Geometry Nodes: fix attribute propagation in Delete Geometry node

Previously, attribute propagation did not work correctly in when only
deleting edges and faces (but not points). Face and face corner attributes
were propagated wrongly or not at all respectively.

In order to keep the patch relatively small for the release branch,
it does not include some small optimizations. These can be done in 3.1:
* Use a `Span<int>` instead of `IndexMask` to avoid creating an
unnecessary `Vector<int64_t>`.
* Only prepare index mappings when there are actually attributes to
propagate.

Differential Revision: https://developer.blender.org/D13338
November 23, 2021, 16:37 (GMT)
Geometry Nodes: Node execution time overlay

Adds a new overlay called "Timings" to the Geometry Node editor.
This shows the node execution time in milliseconds above the node.
For group nodes and frames, the total time for all nodes inside
(recursively) is shown. Group output node shows the node tree total.
The code is prepared for easily adding new rows of information
to the box above the node in the future.

Differential Revision: https://developer.blender.org/D13256
Revision fab3944 by Hans Goudey (master)
November 23, 2021, 15:55 (GMT)
Cleanup: Simplify geometry node function names

With this commit, we no longer use the prefixes for every node type
function like `geo_node_translate_instances_`. They just added more
places to change when adding a new node, for no real benefit.

Differential Revision: https://developer.blender.org/D13337
November 23, 2021, 15:41 (GMT)
Merge branch 'blender-v3.0-release'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021