Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 17 / 5574

Revision 74a566d by Hans Goudey
December 9, 2021, 20:34 (GMT)
Cleanup: Return early in null check

I'm planning to make these functions slightly more complicated,
and it makes sense to return early when checking one of the parameters
for null anyway.
December 9, 2021, 19:54 (GMT)
Fix Cycles wrong adaptive sampling render when using sample offset

Sample offset was not accounted for in the adaptive sampling code and caused
issues, like immediately applied adaptive filtering, with non-zero values.

Differential Revision: https://developer.blender.org/D13510
December 9, 2021, 19:52 (GMT)
Cleanup: use more modern C++ in Cycles merge operator

Use structured binding and for-each loop, remove reduntant type casts, use
find_if instead of loop.

Differential Revision: https://developer.blender.org/D13456
December 9, 2021, 19:52 (GMT)
Cycles: support merging images rendered with adaptive sampling

This patch adds support for merging images rendered with adaptive sampling to
the merge operator (which is currently only exposed in the Python API).

To do this an sample count buffer is created for each render layer from the
sample count pass if it exists, or from the metadata otherwise. This is then
used for averaging passes.

Differential Revision: https://developer.blender.org/D13457
December 9, 2021, 17:50 (GMT)
Geometry Nodes: Scene Time Node

This node outputs the current scene time in seconds or in frames.
Use of this node eliminates the need to use drivers to control values
in the node tree that are driven by the scene time.
Frame is a float value to provide for subframe rendering for motion
blur.

Differential Revision: https://developer.blender.org/D13455
December 9, 2021, 17:17 (GMT)
Fix T93498: Cycles fast GI add method affected by bounces settings

This is only for the replace method.
December 9, 2021, 17:01 (GMT)
Fix T93890: Cycles error with shadow catcher + OptiX denoise without passes
December 9, 2021, 16:46 (GMT)
Fix T93874: Cycles crash with fast GI approximation
December 9, 2021, 16:36 (GMT)
Fix T93871: Image.has_data returns True for images that failed to load
December 9, 2021, 15:47 (GMT)
Fix T93892: Changing bone name leaves non-functional vertex group

The corresponding vertex group was renamed properly, but the armature
influence was broken for that bone.

Caused by {rB3b6ee8cee708}.

Since above commit, vertex group names are stored on object data (mesh/
lattice/gpencil) and if we update these, we have to inform dependency
graph to have immediate effect.

Maniphest Tasks: T93892

Differential Revision: https://developer.blender.org/D13526
Revision 5ce1c63 by Julian Eisel
December 9, 2021, 14:51 (GMT)
Fix T93691: Crash when loading custom thumbnail in custom library

This was an issue with the mixed list of external assets and assets from
the current file. When closing the File Browser to select the custom
preview image, the assets from the current file would be cleared for
reread, to make sure we display up-to-date file data. That is because
the workspace of the temporary File Browser was deleted, causing a
change in the file data (main data-base). The reread would happen in a
background thread, meaning it might not finish before the custom preview
operator runs and queries the active asset. So the preview operator
would get the wrong active asset from context.

Two fixes were needed:
* Make sure current file data is reread before the operator runs, by
doing this partial rereading on the main thread.
* Ensure the asset list (in fact file list) order stays consistent over
rereads. If multiple assets with the same name were shown, the
operator might also have gotten the wrong asset, also leading to a
crash.

Additionally the file operation handler should probably poll before
executing, to fail gracefully at least (not crash).
December 9, 2021, 12:54 (GMT)
Fix (unreported): missing null check

A crash happened when `instance_id_attribute` further down in the
function was null. This issue was probably introduced when the
id attribute starting using generic attribute handling.
December 9, 2021, 11:47 (GMT)
Cleanup: move public doc-strings into headers for 'io/usd'

Ref T92709
December 9, 2021, 11:37 (GMT)
Cleanup: move public doc-strings into headers for 'io/alembic'

Ref T92709
Revision 9183f9f by Julian Eisel
December 9, 2021, 11:35 (GMT)
Cleanup/Documentation: Add/move comments for asset files

Adds some basic high-level explanations for editor/UI level asset APIs.
Also moves one such comment from the source file to the header file,
so it's in the same file as other API comments.
Revision 69f55b1 by Julian Eisel
December 9, 2021, 11:35 (GMT)
Cleanup: Various cleanups to the tree-view API

* Correct URL for documentation (was changed recently).
* Add comments.
* Reevaluate and update which functions are public, protected or
private.
* Reorder functions and classes to be more logical and readable.
* Add helper class for the public item API so individual functions it
uses can be made protected/private (the helper class is a friend).
Also allows splitting API implementation from the C-API.
* Move internal layout builder helper class to the source file, out of
the header.
* More consistent naming.
* Add alias for item-container, so it's more clear how it can be used.
* Use const.
* Remove unnecessary forward declaration.
December 9, 2021, 11:25 (GMT)
Cleanup: move public doc-strings into headers for 'io/collada'

Ref T92709
December 9, 2021, 10:19 (GMT)
Cleanup: use doxy section for itasc_plugin

It wasn't obvious all callbacks were part of the plugin-API.
December 9, 2021, 10:17 (GMT)
Cleanup: move public doc-strings into headers for 'functions'

Ref T92709
December 9, 2021, 10:15 (GMT)
Fix T93519: handle prefix names in autocompletes

Autocomplete entires keep track of the length of the prefix
in `name_prefix_offset`. However, the name matching logic
was comparing the string including the prefix which resulted
in tab-completion not working (when the user didn't also type
in the prefix, typically two whitespaces).

This is fixed by passing in a char pointer after the end of
the prefix.

Additionally, some searchbox logic is moved. Previously,
`ui_searchbox_apply` would clear the entry which would mean
that `ui_searchbox_find_index` would never succeed. Now the
search box is only cleared if no match was found.

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