Blender Git Loki

Kaikki Blender Git kommitit.

Page: 67 / 8462

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 (master)
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:36 (GMT)
Merge remote-tracking branch 'origin/master' into transform-navigation-snapsource

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!
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, 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, 14:29 (GMT)
GHOST: Device discovery API.

Still wip.
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
November 23, 2021, 13:49 (GMT)
Geometry Nodes: reduce overhead when processing single values

Currently the geometry nodes evaluator always stores a field for every
type that supports it, even if it is just a single value. This results in a lot
of overhead when there are many sockets that just contain a single
value, which is often the case.

This introduces a new `ValueOrField<T>` type that is used by the geometry
nodes evaluator. Now a field will only be created when it is actually
necessary. See D13307 for more details. In extrem cases this can speed
up the evaluation 2-3x (those cases are probably never hit in practice
though, but it's good to get rid of unnecessary overhead nevertheless).

Differential Revision: https://developer.blender.org/D13307
November 23, 2021, 13:39 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 13:38 (GMT)
Fix T93231: crash when overwriting vertex group with other domain

The problem was that we forgot to actually remove the vertex group when
it should be deleted. We only removed all the data that was attached to it.

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