Blender Git Commits

Blender Git "master" branch commits.

Page: 375 / 5574

February 23, 2021, 11:07 (GMT)
Fix T84707: Wrong icon for Movie Clip Editor

Sync the list of icons in CMakeLists.txt with UI_icons.h.
Restore, in the source file, the FUND icon that was accidentally
deleted.
Delete four old/unused icons.

See also D9715.
February 23, 2021, 10:52 (GMT)
BLI: new FunctionRef type

Using `FunctionRef` is better than using `std::function`, templates and c function
pointers in some cases. The trade offs are explained in more detail in code documentation.

The following are some of the main benefits of using `FunctionRef`:
* It is convenient to use with all kinds of callables.
* It is cheaper to construct, copy and (possibly) call compared to `std::function`.
* Functions taking a `FunctionRef` as parameter don't need to be declared
in header files (as is necessary when using templates usually).

Differential Revision: https://developer.blender.org/D10476
February 23, 2021, 10:45 (GMT)
Cycles: Add option to change input passes for viewport denoising

There are cases where the default input passes of color+albedo do not yield useful results
and while this was possible to change that for final frame rendering (in the layer settings),
viewport denoising always used a fixed color+albedo. This adds an option to change the
input passes for viewport denoising too, so that one can use it in scenes that otherwise
wouldn't work well with it.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10404
Revision bfb2e87 by Hans Goudey
February 23, 2021, 05:33 (GMT)
Cleanup: Use shorter enum names

With the full node name at the beginning, these names can get quite long.
Slightly different words shorten them just a bit.
February 23, 2021, 05:06 (GMT)
Alembic procedural: avoid storing constant hair topology for each frame

Only store the curve keys and radiuses for each frame if the topology does not change through time, this helps saving quit a bit of memory.
February 23, 2021, 05:06 (GMT)
Alembic procedural: cleanup, demultiply Object and Geometry Node
creation
February 23, 2021, 04:31 (GMT)
Alembic procedural: use an enumeration to discriminate IObjects

Using the various IObject::matches() to do so was expensive and would
show up in profiles as requires creating std::strings for each call.
February 23, 2021, 04:16 (GMT)
Alembic procedural: fix crash when accessing data out of frame bounds
Revision 9fe53bd by Ankit Meel
February 23, 2021, 03:04 (GMT)
Build Environment/macOS/Python: link against zlib statically

rBc70eb30240f8b5d5a8f2ac509f0eb585936142b5 added patch to use static
zlib on Linux. But also added flags to use the zlib in LIBDIR for
Python on macOS. That causes some shared libraries (binascii for one)
to link against libz.1.dylib which will not be there on users' systems.
Reuse the said patch for macOS also to avoid rpath issues.

Fix T85648.
Reviewed By: #platform_macos, brecht
Differential Revision: https://developer.blender.org/D10479
February 22, 2021, 21:47 (GMT)
Fix T85638: Child Window Positioning on Multiple Monitors

Constraint of new window position can be incorrect when using multiple monitors.

Differential Revision: https://developer.blender.org/D10469

Reviewed by Brecht Van Lommel
February 22, 2021, 20:46 (GMT)
Win32: Do not (yet) set window styles for Dialog

Remove the setting of Dialog window styles until we confirm expected behavior between platforms.

Differential Revision: https://developer.blender.org/D10470

Own Code
February 22, 2021, 19:52 (GMT)
UI: Remove Blend Thumb Passepartout

Removal of 'camera frame' around blend file thumbnail images.

Differential Revision: https://developer.blender.org/D10490

Reviewed by Brecht Van Lommel
February 22, 2021, 19:38 (GMT)
UI: Simplify Window Creation

Refactoring: WM_window_open() that can open different types of windows. 'New Window' with simplified layout.

Differential Revision: https://developer.blender.org/D10419

Reviewed by Brecht Van Lommel
February 22, 2021, 19:28 (GMT)
Fix: Geometry nodes not depending on instanced collections properly

Geometry nodes were not adding referenced instanced collections as
dependencies to depsgraph.

This would lead to meshes and data not being ready on evaluation in
certain cases.
Revision 441c660 by Hans Goudey
February 22, 2021, 19:18 (GMT)
Cleanup: Use bool instead of char
February 22, 2021, 18:08 (GMT)
CMake/Windows: Update for new XR_OPENXR version

This updates platform/platform_win32.cmake to support
both the old and new library names for OpenXR.

The new version links against one additional system
library and the debug library filename changed ever
so slightly.

This is a temporary workaround and can be removed
once the new lib versions have landed.
February 22, 2021, 18:03 (GMT)
CMake/Windows: Detect Boost version

Rather than hardcoding the lib names, read
boosts version.hpp and extract the version
from there.

This will make it easier to land lib changes
in the near future.
February 22, 2021, 17:47 (GMT)
Fix T85753: Default UVs for Icosphere are flipped horizontally

These were flipped since their introduction in rBa070a5befa11.

Maniphest Tasks: T85753

Differential Revision: https://developer.blender.org/D10465
February 22, 2021, 17:33 (GMT)
Fix Principled BSDF specular color for black base color

Specular color is set to black instead of white inside the Principled BSDF
when the base color is set to fully black. This is contradictory to the sample
code of the Disney BRDF in BRDF Explorer. This patch aligns both
implementations.

Differential Revision: https://developer.blender.org/D10448
February 22, 2021, 17:32 (GMT)
i18n messages extraction script: fix handling of C unicode-escapes.

rB1f5647c07d15 introduced for the first time a unicode escape in strings
to be translated, directly extracted from C-code itself.

This revealed that this case was not properly handled by current code,
for now we work around using `raw_unicode_escape` encoding/decoding of
python.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021