Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 138 / 5574

Revision 0f764ad by Hans Goudey
September 24, 2021, 04:56 (GMT)
Fix T91661: Vector rotate output socket diconnects on file load

An incorrect name was used in the socket declaration refactor.
Revision 0e03974 by Hans Goudey
September 24, 2021, 03:23 (GMT)
Fix: Incorrect field visualization for some shader nodes

These need to be tagged as function nodes in their declaration.
September 24, 2021, 01:31 (GMT)
Cleanup: spelling in comments
September 24, 2021, 01:07 (GMT)
Cleanup: group convenience assignments in the keymap
September 24, 2021, 01:07 (GMT)
UI: keymap preference tweaks

- Expose option to use shortcuts to activate tools as an enum.
- "Emulate 3 Button Mouse" now disables preferences
that depend on Alt-LMB.
Revision 2614166 by Hans Goudey
September 23, 2021, 22:45 (GMT)
Fix: Curve fill node doesn't fill real geometry with instances

A misplaced return in the middle of the function made it so
the node didn't fill real geometry.
September 23, 2021, 21:27 (GMT)
Audaspace: port bugfix from upstream.

Fixes T91615: Instant crash when dragging video file into video editor sequencer
September 23, 2021, 20:21 (GMT)
Geometry Nodes: Initial socket visualization for fields.

This implements the update logic for the vizualization of which
sockets pass data or constants directly, and which pass functions.
The socket shapes may still have to be updated. That should be
done separately, because it might be a bit more involved, because
socket shapes are currently linked to keyframe shapes. Currently
the circle and diamond shapes are used with the following meanings:

- Input Sockets:
- Circle: Required to be a single value.
- Diamond: This input supports fields.
- Output Sockets:
- Circle: This output is a single value.
- Diamond: This output may be a field.

Connecting a field to a circle input socket is an error, since a
field cannot be converted to a single value. If the socket shape
is a diamond with a dot in the middle, it means it is currently
a single value, but could be a field.

In addition to socket shapes, the intention is to draw node links
differently based on the field status. However, the exact method for
conveying that isn't decided yet.

Differential Revision: https://developer.blender.org/D12584
Revision c1b925f by Hans Goudey
September 23, 2021, 20:20 (GMT)
Fix build error caused by typo
September 23, 2021, 18:45 (GMT)
Fix T91638: image editor Open Cached Render not loading some passes

Previously this was only loading built-in render passes. Now instead of trying
to load the scene render passes, load whatever passes exist in the cache file.
September 23, 2021, 18:33 (GMT)
Fix: Build issue with MSVC

header for std::function was not included

reported/fixed by Charlie on chat
September 23, 2021, 18:11 (GMT)
Paint: prevent RenderResults and Viewers where unappropriate

Using a RenderResult (or a Viewer) was never really working (think you
cant get a real ImBuff from these) -- cannot use it as a clone, stencil
or canvas [Single Image paint texture slot].

In the case of using it as a 2D paint clone image this would also crash
[due to the Image Editor drawing refactor in 2.91].

Now [in the spirit of T73182 / D11179], prevent using these where
unappropriate by using rna pointer polling functions.

Also add a security check for the 2D paint clone image crash in case a
stencil ImBuff cannot be provided for some reason, but generally old
files are now patched in do_versions_after_linking_300 (thx @brecht!).

Fixes T91625.

Maniphest Tasks: T91625

Differential Revision: https://developer.blender.org/D12609
Revision b8a30c7 by Julian Eisel
September 23, 2021, 17:39 (GMT)
Cleanup: Use const in previously committed function
Revision 323fd80 by Julian Eisel
September 23, 2021, 17:33 (GMT)
UI: Tree-View API for easy creation of tree UIs

This follows three main targets:

* Make creation of new tree UIs easy.
* Groundwork to generalize tree UIs (so e.g. Outliner, animation
channels, asset catalogs and spreadsheet data-sets don't have to
re-implement basic tree UI code) or even other data-view UIs.
* Better separate data and UI state. E.g. with this, tree-item selection
or the open/collapsed state can be stored on the UI level, rather than
in data. (Asset Catalogs need this, storing UI state info in them is
not an option.)

In addition, the design should be well testable and could even be
exposed to Python.

Note that things will likely change in master still. E.g. the actually
resulting UI isn't very nice visually yet.

The design is documented here:
https://wiki.blender.org/wiki/Source/Interface/Views

Differential Revision: https://developer.blender.org/D12573
Revision eb0eb54 by Hans Goudey
September 23, 2021, 16:41 (GMT)
Fix D12533: Simplify curve object to mesh conversion

This patch simplifies the curve object to mesh conversion
used by the object convert operator and exporters.

The existing code had a convoluted model of ownership, and did quite
a bit of unnecessary work. It also assumed that curve objects always
evaluated to a mesh, which is not the case anymore.

Now the code checks if the object it receives is evaluated. If so,
it can simply return a copy of the evaluated mesh (or convert the
evaluated curve wire edges to a mesh if there was no evaluated mesh).
If the object isn't evaluated, it uses a temporary copy of the object
with modifiers removed to create the mesh in the same way.

This follows up on the recent changes to curve evaluation,
namely that the result is always either a mesh or a wire curve.

Differential Revision: https://developer.blender.org/D12533
September 23, 2021, 16:32 (GMT)
Cycles: improve Auto Tile option description

Ref T91645
September 23, 2021, 16:32 (GMT)
Fix T91626: Cycles sss behind fully transparent object renders differently
September 23, 2021, 16:27 (GMT)
Cleanup: UUID, fix clang-tidy warnings

Use explicit `uint32_t` instead of `uint`, add a missing end-of-namespace
comment, and change `auto` to `const auto *`.

No functional changes.
September 23, 2021, 16:27 (GMT)
bUUID: make it explicit the default constructor produces the nil value

The implicit default constructor zeroes all plain data fields, and now
this behaviour is explicit & tested for in a unit test.
September 23, 2021, 15:59 (GMT)
Geometry Nodes: simplify looping over attributes in geometry set

This adds three new methods:
* `InstancesComponent::foreach_reference_as_geometry(...)`
* `GeometrySet::attribute_foreach(...)`
* `GeometrySet::gather_attributes_for_propagation(...)`

The goal is that these iteration primitives can be used in places
where we use more specialized iterators currently.

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