Blender Git Commit Log

All Blender Git commits.

Page: 157 / 8462

October 19, 2021, 09:59 (GMT)
Cleanup: More readable Cycles OSL BSDF definition

A Clang-Format configuration to make the closure definition block to
be properly recognized as such.

Also small wrapper macro to avoid comma in the actual definition code
which was causing unwanted indentation of parameters definition.

Requires Clang-Format 7 or newer. The version we ship in the libs is
12, so for recommended development setup it should all be good.

Differential Revision: https://developer.blender.org/D12920
October 19, 2021, 09:39 (GMT)
Fix T85779: Cycles not using all threads when using OpenImageDenoise

The thread affinity setting in OIDN can break multithreading on some CPUs.
While this leads to somewhat worse performance on CPUs that do work correctly,
it's better than having some CPUs use only half the cores.
October 19, 2021, 09:30 (GMT)
Cleanup: Unused device argument in host update functions

Better not to tempt anyone from using unsafe access to device
functionality during host update.
October 19, 2021, 09:29 (GMT)
Fix invalid OSL shader compilation state

The lookup tables are to be initialized after device free.

On Linux was only noticeable when rendering default cube scene with
an extra assert. On Windows it was causing an assert in STL in debug
builds.

Differential Revision: https://developer.blender.org/D12918
October 19, 2021, 07:35 (GMT)
Cleanup: use 'e' prefix for enum types
October 19, 2021, 07:31 (GMT)
Cleanup: clang-format
Revision a76bb1a by Hans Goudey (master)
October 19, 2021, 03:15 (GMT)
BLI: Support removing keys from a set during iteration

This adds the ability to mark slots as removed while iterating through
a mutable set.

Differential Revision: https://developer.blender.org/D12867
October 19, 2021, 02:22 (GMT)
Fix crash on file load in unregistering bke::AssetLibraryService

Use mutable iterator to support callbacks removing themselves.
October 19, 2021, 01:50 (GMT)
Fix image cache margin calculation

This margin was inconsistently calculated: only taking the
visible region and interface scale into account in some cases.
October 19, 2021, 01:50 (GMT)
Fix memory leak in sample tool

When there was no image buffer, sample leaked memory.
Revision a345770 by Hans Goudey (master)
October 19, 2021, 01:13 (GMT)
Geometry Nodes: De-duplicate index input nodes during evaluation

We do this in other nodes to reduce overhead of using the same node more
than once. I don't think it will make a difference with index nodes
currently, but at least it's consistent.
October 19, 2021, 01:01 (GMT)
Fix: Build error with MSVC

noise.cc uses std::min and std::max without
including the algorithm header required.

Newer MSVC versions and GCC implicitly include
it somewhere, which isn't something we should
count on. Best to include what you use.
October 19, 2021, 00:08 (GMT)
Fix T91979: Don't mark string nodes as supporting fields

Even though these nodes do support fields internally, there are no
input string sockets that support fields currently, so removing
the diamond sockets for now helps avoid confusion.

Differential Revision: https://developer.blender.org/D12828
October 18, 2021, 21:38 (GMT)
Cleanup: remove unused member and rearrange function
October 18, 2021, 21:26 (GMT)
VSE: Improve thumbnail loading speed

Split thumbnail job in 2 passes. First pass will render visible images
and second part renders set of "guaranteed" equally spaced images.

When viewing larger amount of strips, it is likely that only 1 or 2
images will be rendered in first pass, while in second pass it is up to
30 images.

This results (seemingly) in 3x better performance, but zooming before
set of guaranteed images is done will be slightly more inaccurate.
October 18, 2021, 20:38 (GMT)
Revert "Cycles: optimize volume stack copying for shadow catcher/compaction"

This reverts commit 3065d2609700d14100490a16c91152a6e71790e8. Causing crashes
in the spring scene.
October 18, 2021, 20:25 (GMT)
VSE: Don't draw thumbnails while rendering

During rendering VSE cache is invalidated, so thumbnails would be
removed and thumbnail job would constantly restart.

Even if thumbnails would be preserved, resources should be dedicated
for rendering job.
October 18, 2021, 20:11 (GMT)
Geometry Nodes: Sort Children in Collection Info

When the 'Separate Children' option is selected, the children of
the selected collection are inserted into the geometry output
sorted alphabetically by name.

One item to note is that the rename function does not trigger a
depsgraph update. This means that the changes are not reflected
in the spreadsheet until another action triggers the update.

Differential Revision: https://developer.blender.org/D12907
October 18, 2021, 18:12 (GMT)
Merge branch 'master' into temp-abc-features
October 18, 2021, 18:10 (GMT)
Generic structures to handle attributes, handle sculpt vcol as regular
color.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021