Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 149 / 5574

Revision 289f685 by YimingWu
September 16, 2021, 00:42 (GMT)
GPencil: Fix dash modifier reading error.

The reference for parent modifier in segment data is not assigned. Now fixed.
Revision 28bd74c by Hans Goudey
September 15, 2021, 19:44 (GMT)
Cleanup: Use function to mark mesh normals dirty
Revision 8c5d9fa by Hans Goudey
September 15, 2021, 19:19 (GMT)
Cleanup: Remove duplicate warning from subdivision surface node
Revision 525def9 by Hans Goudey
September 15, 2021, 19:16 (GMT)
Geometry Nodes: Hide values for selection inputs

Toggling the selection off in the node is the same as muting it,
so exposing it there doesn't help, and makes it less clear that it's
meant to be used as a field.
Revision acb8909 by Hans Goudey
September 15, 2021, 19:12 (GMT)
Fix: Division by zero in curve spiral primitive node
September 15, 2021, 18:57 (GMT)
Splines: Add a method for reversing a Spline

This moved the spline reversing logic out of the Curve Reverse geometry
node and into the spline class. This allows a spline to reverse itself
with a call to `my_spline.reverse()`

The base class will reverse position, radii & tilt, while specialized
versions are created for Bezier and Nurbs splines to reverse the
additional data that these classes encapsulate.

Differential Revision: https://developer.blender.org/D12501
September 15, 2021, 17:34 (GMT)
Tests: Updated test message for Directory Not Found
September 15, 2021, 17:06 (GMT)
Fix broken WorkSpace use after recent refactor of append code.

Essentially, Workspace (and Screen) types were defined as not
localizable.

In previous code it happended to work by mere chance (code path taken in
`BKE_library_make_local` was conviniently skipping the call to
`BKE_lib_id_make_local` in that case, hence not checking for
`IDTYPE_FLAGS_NO_MAKELOCAL` flag of the localized ID type).

This is a total abuse of this IDType flag, for now removing it.

That specific case (IDtype appendable but nor linkable) requires its own
proper flag, this will be tackled in a later commit.

Issue introduced in rB3be5ce4aad5e.
September 15, 2021, 16:53 (GMT)
Fix missing passes result when rendering multiple views

Caused by the lazily pass pixels allocation which didn't reset
allocation state of the render result.

Demo file: XXX
September 15, 2021, 16:47 (GMT)
Fix crash in 'drag asset' case in new append code from yesterday.

Scene and related pointer parameter can be NULL in link/append code, in
which case there is no instantiation of new objects/collections/obdata.

Link code in blendloader was already checking that, new instantiation
code in WM area from yesterday did not.

Issue introduced by rB3be5ce4aad5e.
September 15, 2021, 16:13 (GMT)
BLI: Add a reverse method to MutableSpan

Add a method that allows a MutableSpan to reverse itself. This reverses
the data in the original span object. This is a first step in extracting
some functionality from nodes and making it more general.

Differential Revision: https://developer.blender.org/D12485
Revision 09f14b3 by Hans Goudey
September 15, 2021, 15:51 (GMT)
Geometry Nodes: Add fields version of material nodes

This commit moves the old material nodes to a "legacy" folder and adds
versions of the nodes that work with fields.

The "Select by Material" node is a field node now, so it doesn't have
a geometry output. This is an improvement because there are fewer links
to connect, and it's more easily usable in different situations.
It's also called "Material Selection", since it's more of an input
than an action now.

It's sometimes necessary to use the attribute capture node to get a
more predictable interpolation to mesh faces. This is because the
selection field input is always evaluated on the face domain, so
attribute inputs are interpolated before they are booleans, so they
cannot use the new interpolations from rB5841f8656d9580d7b9.

Differential Revision: https://developer.blender.org/D12456
Revision 5841f86 by Hans Goudey
September 15, 2021, 15:28 (GMT)
Geometry Nodes: Add special domain interpolation for selections

The generic domain interpolation algorithms didn't quite work for
selections. The interpolation would do unexpected things that
were different than the results in edit mode. The new behavior
is supposed to be the same as edit mode, although we also have
to handle face corner selections here.

Currently the code assumes that all boolean attributes should be
handled that way. I'm not sure of why that wouldn't be the case,
but if we ever need non-selection boolean attributes, that could
be supported too.

Differential Revision: https://developer.blender.org/D12488
September 15, 2021, 14:35 (GMT)
Cleanup: avoid passing redundant parameter
September 15, 2021, 14:09 (GMT)
Nodes: refactor socket declarations

This commits adds a few common flags to `SocketDeclaration`
so that they are available for all socket types (hide label, hide
value, is multi input). This allows porting over the remaining
geometry nodes to the new declaration system.

Furthermore, this commit separates the concepts of the socket
declaration and corresponding builders. The builders are used
by nodes to declare which sockets they have (e.g. `FloatBuilder`).
The ready build socket declarations can then be consumed by
other systems such as the versioning code. Both use cases
need different APIs and those will change for independent reasons,
so it makes sense to separate the classes.
September 15, 2021, 12:34 (GMT)
Gizmo: add flag to hide the gizmo group during interaction

This allows a hack to be removed that temporarily overwrote
the 3D views gizmo display flag.

Also reverse change from fb27a9bb983ce74b8d8f5f871cf0706dd1e25051
that runs poll on modal gizmo groups as there is some risk
that the poll function unlinks the gizmo.
September 15, 2021, 12:34 (GMT)
Cleanup: unused variable
Revision c420399 by YimingWu
September 15, 2021, 10:19 (GMT)
Fix T91421: Length modifier bake influence check.

Reviewed By: Antonio Vazquez (antoniov)

Differential Revision: https://developer.blender.org/D12496
September 15, 2021, 10:09 (GMT)
Fix Asset Browser cannot open containing file anymore

In {rB9cff9f9f5df0} asset_library was renamed ? asset_library_ref.

Missed to update this in assets.py.

Differential Revision: https://developer.blender.org/D12497
September 15, 2021, 09:02 (GMT)
Geometry Nodes: multi threaded field evaluation

This adds a new `ParallelMultiFunction` which wraps another multi-function
and evaluates it with multiple threads. The speeds up field evaluation
quite a bit (the effect is most noticeable when the number of evaluations
and the field is large).

There are still other single-threaded performance bottlenecks in field
evaluation that will need to be solved separately. Most notably here
is the process of copying the computed data into the position attribute
in the Set Position node.

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