Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 38 / 5574

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
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'
November 23, 2021, 15:40 (GMT)
Fix T93297: incorrect eevee motion blur with geometry instances

This disables motion blur for geometry instances in eevee, which did
not work correctly anyway. See code comment for more details.

Differential Revision: https://developer.blender.org/D13334
November 23, 2021, 15:38 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 15:38 (GMT)
Cycles: Fix possible access to non-initialized light sample in volume

Happened in barbershop file where number of bounces to the light was
reached.

Differential Revision: https://developer.blender.org/D13336
November 23, 2021, 15:32 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 15:29 (GMT)
Fix T93322: Freestyle Sinus Displacement Division by Zero Crash

This happens if the Wavelength is set to 0.0f.

Not sure if we really need a do_version patch for old files, as an
alternative we could also force a slight offset in the
SinusDisplacementShader. This patch does not do either, just force a
positive range from now on.

Maniphest Tasks: T93322

Differential Revision: https://developer.blender.org/D13329
November 23, 2021, 14:46 (GMT)
Merge branch 'blender-v3.0-release'
Revision 3bb8d17 by Sayak Biswas / Brecht Van Lommel
November 23, 2021, 14:45 (GMT)
Fix T93109: Cycles HIP missing check for correct driver version

21.Q4 is required, older version should not show devices in the preferences.
This adds a check for the file version of amdhip64.dll file during hipew
initialization.

Differential Revision: https://developer.blender.org/D13324
November 23, 2021, 14:41 (GMT)
Cleanup: Suppress clang-tidy warning.
November 23, 2021, 14:41 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 14:38 (GMT)
Fix T93320: Freestyle LineStyleModifier blend 'Minimum' error

This was just a typo in {rBb408d8af31c9}
Must be 'MINIMUM' (instead of 'MININUM').

Maniphest Tasks: T93320

Differential Revision: https://developer.blender.org/D13328
November 23, 2021, 14:35 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 14:34 (GMT)
Fix compilation warnings when building without OpenImageDenoiser

Reported by Sybren, thanks!
Revision 8897e0a by Julian Eisel
November 23, 2021, 14:30 (GMT)
Fix add-on Preferences using the .blend file icon, not the Blender logo

Intention of the icon is to mark add-ons that are official/bundled.
Doesn't make much sense to use the .blend file icon for that. It's
arguable if the Blender logo should be used for this, but the file icon
is definitely the wrong choice.
Revision 5efddc4 by Julian Eisel
November 23, 2021, 14:30 (GMT)
Fix add-on Preferences using the .blend file icon, not the Blender logo

Intention of the icon is to mark add-ons that are official/bundled.
Doesn't make much sense to use the .blend file icon for that. It's
arguable if the Blender logo should be used for this, but the file icon
is definitely the wrong choice.
November 23, 2021, 13:56 (GMT)
Geometry Nodes: add namespace for every file

This puts all static functions in geometry node files into a new
namespace. This allows using unity build which can improve
compile times significantly (P2578).

* The name space name is derived from the file name. That makes
it possible to write some tooling that checks the names later on.
The file name extension (`cc`) is added to the namespace name as
well. This also possibly simplifies tooling but also makes it more
obvious that this namespace is specific to a file.
* In the register function of every node, I added a namespace alias
`namespace file_ns = blender::nodes::node_geo_*_cc;`. This avoids
some duplication of the file name and may also simplify tooling,
because this line is easy to detect. The name `file_ns` stands for "file
namespace" and also indicates that this namespace corresponds to
the current file. In the beginning I used `node_ns` but `file_ns` is more
generic which may make it more suitable when we want to use unity
builds outside of the nodes modules in the future.
* Some node files contain code that is actually shared between
different nodes. For now I left that code in the `blender::nodes`
namespace and moved it to the top of the file (couldn't move it to
the bottom in all cases, so I just moved it to the top everywhere).
As a separate cleanup step, this shared code should actually be
moved to a separate file.

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