Blender Git Loki

Kaikki Blender Git kommitit.

Page: 137 / 8462

October 26, 2021, 13:37 (GMT)
Cleanup: remove useless WITH_CYCLES_DEVICE_MULTI
October 26, 2021, 13:37 (GMT)
Cycles: remove prefix from source code file names

Remove prefix of filenames that is the same as the folder name. This used
to help when #includes were using individual files, but now they are always
relative to the cycles root directory and so the prefixes are redundant.

For patches and branches, git merge and rebase should be able to detect the
renames and move over code to the right file.
October 26, 2021, 13:36 (GMT)
Cycles: changes to source code folders structure

* Split render/ into scene/ and session/. The scene/ folder now contains the
scene and its nodes. The session/ folder contains the render session and
associated data structures like drivers and render buffers.
* Move top level kernel headers into new folders kernel/camera/, kernel/film/,
kernel/light/, kernel/sample/, kernel/util/
* Move integrator related kernel headers into kernel/integrator/
* Move OSL shaders from kernel/shaders/ to kernel/osl/shaders/

For patches and branches, git merge and rebase should be able to detect the
renames and move over code to the right file.
October 26, 2021, 13:35 (GMT)
Cleanup: compiler warnings
October 26, 2021, 13:32 (GMT)
Geometry Nodes: remove reference to anonymous attributes in tooltips

This changes socket inspection for fields according to T91881.

Differential Revision: https://developer.blender.org/D13006
October 26, 2021, 13:07 (GMT)
Fix drop of dimensionless objects in 3DView

The matrix and location were not being calculated in this case.
October 26, 2021, 13:00 (GMT)
UI: Use text highlight theme color for active tab

Currently, both inactive and active tabs are using the `Region Text` theme property.
This patch makes it so active tabs use `Region Text Highlight`.

Since this check is done in other places already but was simply missing in this case, I believe this was just an oversight and not a design decision.

Top is master, bottom is this patch:

{F11520838, size=full}

This allows this kind of tab highlight, not possible before since all tabs would have white text.

{F11520873, size=full}

Reviewed By: #user_interface, Severin

Differential Revision: https://developer.blender.org/D13003
October 26, 2021, 12:56 (GMT)
Cycles: add additive AO support through Fast GI settings

Add a Fast GI Method, either Replace for the existing behavior, or Add
to add ambient occlusion like the old world settings.

This replaces the old Ambient Occlusion settings in the world properties.
October 26, 2021, 12:48 (GMT)
Cycles: change Position render pass to be not antialiased

Similar to the Depth, for compositing the interpolated values between a far
and near object can be non-sensical.
October 26, 2021, 12:48 (GMT)
Cycles: restore Denoising Depth pass, when enabling Denoising Data passes

This is still useful in some cases even if not used by OpenImageDenoise. In
the future this may be replaced with a more generic system to control render
passes and filtering, but for now this just does what it did before.
October 26, 2021, 11:26 (GMT)
Cleanup: spelling in comments
October 26, 2021, 11:26 (GMT)
Fix custom property editing with Python 3.10
October 26, 2021, 11:09 (GMT)
BlenLib: Add JSON Serialization/Deserialization Abstraction Layer.

Adds an abstraction layer to switch between serialization formats.
Currently only supports JSON. The abstraction layer supports
`String`, `Int`, `Array`, `Null`, `Boolean`, `Float` and `Object`. This
feature is only CPP complaint.

To write from a stream, the structure can be built by creating a value
(any subclass of `blender::io::serialize::Value` can do, and pass it to
the `serialize` method of a `blender::io::serialize::Formatter`. The
formatter is abstract and there is one implementation for JSON
(`JsonFormatter`).

To read from a stream use the `deserialize` method of the formatter.

{D12693} uses this abstraction layer to read/write asset indexes.

Reviewed By: Severin, sybren

Maniphest Tasks: T91430

Differential Revision: https://developer.blender.org/D12544
October 26, 2021, 10:48 (GMT)
Geometry Nodes: don't log full fields when not necessary

Previously, the field on every socket was logged for later use. This had
two main negative consequences:
* Increased memory usage, because the fields may contain a lot of data
under some circumstances (e.g. a Ray Cast field contains the target geometry).
* Decreased performance, because anonymous attributes could not be
removed from geometry automatically, because there were still fields that
referenced them.

Now most fields are not logged anymore. Only those that are viewed by a
spreadsheet and constant fields. The required inputs of a field are still
logged in string form to keep socket inspection working.
October 26, 2021, 09:56 (GMT)
Animation UI: Make Ctrl+F use textbox instead of pop-up

Avoid blocking the UI when searching for animation channels with Ctrl+F.

Instead of showing a single text input in a blocking popup, Ctrl+F now
just focuses the search box above the channel list. It feels nicer to
use and has the niceties that come from using that textbox, like
searching per keystroke, compared to the old pop-up method.

As the behaviour of the operator has changed considerably, this also
changes the operator name from `anim.channels_find` to
`anim.channels_select_filter` and updates the keymaps.

Reviewed By: ChrisLend, sybren

Differential Revision: https://developer.blender.org/D12146
October 26, 2021, 09:46 (GMT)
CMake: expand instructions for accidental 'cmake' run in source dir

Our CMake setup refuses to run from the source directory (i.e. Blender does
not support in-source builds). Instead, it shows instructions on how to
clean up after an accidental `cmake` invocation. These instructions missed
one directory that should also be removed (`CMakeFiles`), so that's been
added to the message now.

No functional changes to Blender or the build.
October 26, 2021, 09:35 (GMT)
Sculpt: fix compile error

Missing #ifdefs for instant meshes
October 26, 2021, 09:25 (GMT)
Geometry Nodes: support viewing field values in spreadsheet

The viewer node has been expanded to have a field input next to the
geometry input. When both are connected (by ctrl+shift clicking on a node)
the spreadsheet will show the evaluated field on the geometry.

The operator to link to the viewer has become a bit smarter. It automatically
detects if it should link to the geometry or field input. In the future some more
smartness could be added, such as automatically relinking the "right" geometry
when viewing a field.

Internally, there are two major changes:
* Refactor of what happens when ctrl+shift clicking on a node to link to
a viewer. The behavior of the geometry nodes viewer is a bit more complex
than that of the compositor viewers. The behavior in compositing nodes
should not have changed. Any change should be reported as a bug (and then
we can decide if it's worse than before or if it needs fixing).
* Evaluation, display and caching of fields in the spreadsheet editor.

Differential Revision: https://developer.blender.org/D12938
Revision fee2ced by YimingWu (master)
October 26, 2021, 09:11 (GMT)
GPencil: Fix(unreported) Dash modifier wrong logic.

When the modifier iterates to an empty layer with no frame it will return,
while the correct logic is to continue.
October 26, 2021, 09:11 (GMT)
GPencil: Fix(unreported) Dash modifier wrong logic.

When the modifier iterates to an empty layer with no frame it will return,
while the correct logic is to continue.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021