Blender Git Loki

Blender Git "soc-2021-porting-modifiers-to-nodes_all" branch commits.

Page: 4 / 26

July 30, 2021, 14:56 (GMT)
install_deps: Update OSL to 1.11.14.1.

This has been a huge pain to get working, for several reasons (new flags
needed, patching is now mandatory, etc.).

Further more, discovered that debian OIIO package is now silently
relying on OpenCV, without even proper handling of this dependency (at
least in the `-dev` package), so had to revert to force-build own OIIO
again on that distro for the time being.

Ref. T88438.
July 30, 2021, 14:56 (GMT)
deps/win: Remove media foundation dep for ffmpeg

This caused a blender load error on windows N,
given we do not use these codecs they can safely
be disabled.

This will fix T90200 once the new libraries are
in SVN
July 30, 2021, 14:56 (GMT)
Cleanup: OSL buildlib patch: Remove `.rej` part.

This patch contained changes for an `.rej` rejection file generated by
failed patch apply... Definitly nothing to do here.
July 30, 2021, 14:56 (GMT)
Cleanup: Consistent indent style for asset CMakeLists file

Was mixing 4 and 2 space indent in a single file.
July 30, 2021, 14:56 (GMT)
install_deps: update OIDN to 1.4.1, and ISPC to 1.16.0.

Ref. T88438.
July 30, 2021, 14:56 (GMT)
Render: remove unused Blender Internal view layer settings

These should have been removed earlier but were forgotten.
July 30, 2021, 14:56 (GMT)
Fix T90295: inconsistent render pass order between Cycles and Eevee
July 30, 2021, 14:56 (GMT)
GPencil: Fix unreported problems painting after import SVG

After doing an import, the bounding box of the stroke was not calculated and any operation related to brushes (Sculpt, Weight Paint and Vertex Paint) was not working as expected because the bounding box of the stroke was wrong.

This problem was solved automatically after any edit operation, but must be solved in the import process.
July 30, 2021, 14:56 (GMT)
install_deps: Update OIIO to 1.1.15.1.

Ref. T88438.
July 30, 2021, 14:56 (GMT)
Render: disable Z pass by default, leave only Combined

It was somewhat arbitrary to have this one pass enabled that adds a bit of
additional memory and render time overhead, even though it's not necessarily
more important than others.
July 30, 2021, 14:56 (GMT)
Fix T89976: Mirror Keys By Value performs wrong scale conversion

In the graph editor, Mirror Keys by Value would convert the value to mirror
over, to account for different units for linear & rotational properties.
The conversion was done in the different direction, though, resulting in
values that were too large by a factor of (180/pi)^2.
July 30, 2021, 14:56 (GMT)
UI: Fix time labels drawing

Calculate frequency of time/frame label drawing, such that labels have
at least 10px margin and don't overlap.

Change timecode format:
- Use at least `mm:ss` format
- Don't display frames if all labels would end with +00

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D11792
July 30, 2021, 14:56 (GMT)
LayerCollection: Refactor of resync-with-Collection-hierarchy process.

The goal of this refactor is to improve resync of LayerCollections
hierarchy to match again Collection one.

Current code would destroy and re-create valid layers whenever a parent
collection would be removed, which leads to losing way too often
layer-related settings when editing collection hierarchies.

While this could be partially addressed from operators side, there was
no way to fix those issues from lower level, more generic ID management
code like ID remapping or library override resync processes.

The new code builds a shallow wrapper around existing (aka old) layers
hierarchy, does a set of checks to define the status of all existing
layers, and try to find the closest matching unused layer in cases where
layers and collections hierarchies do not match anymore.

The intent is to both re-use as much as possible existing layers, and
to pick the 'best' possible layer to re-use, following those heuristics:
* Prefer layers children of current one first (in old hierarchy), and only
use those from other higher-level hierarchies if no (grand-)child is found.
* Prefer to use closest layers available in the old hierarchy.

NOTE: The new code is about 12%-15% slower than the previous one, which is
expected given the increased complexity. Note that this would not be an
issue in practice if this code was not called way too often (needs to
be converted to lazy update instead, which is a long known TODO).

NOTE: The LayerCollectionResync code uses its own built-in version of
FIFO queue, as performances in this code is currently a critical point
(it can get called tens of thousands of times during a single (heavy)
ID management operation currently, in a production file e.g.).

Differential Revision: https://developer.blender.org/D12016
July 30, 2021, 14:56 (GMT)
Fix LibOverride crashing in some cases where reference linked data gets MIA.

When the root of an override hierarchy disapears, there is no way to do
a proper resync, just abort.

Reported by studio, thx.
July 30, 2021, 14:56 (GMT)
LineArt: Occlusion accuracy fix.

This patch fixes occlusion function to handle one specific case (when an edge shares a point with triangle) better,especially when there's overlapping edges in this case.
July 30, 2021, 14:56 (GMT)
Fix T90221: geometry viewer node links to other socket types

The viewer node in geometry node trees only supports geometry nodes.
This patch ensures that when ctrl shift clicking on a node, it will only
link to geometry sockets.

Differential Revision: https://developer.blender.org/D12055
July 30, 2021, 14:56 (GMT)
LineArt: Camera Overscan

Expand camera effective region to a portion beyond image frame so strokes won't end right at the border.

Reviewed By: Antonio Vazquez (antoniov)

Differential Revision: https://developer.blender.org/D12049
July 30, 2021, 14:56 (GMT)
Deps: ensure osl/bin/oslc is using static libpng

Pass `-DLINKSTATIC=ON` to the OSL CMake, to ensure it statically links to
our libpng. Previously this was only applied on Windows, it's now on all
platforms.
July 30, 2021, 14:56 (GMT)
Data-block Preview: Create preview using current frame

The preview was always using frame 1, but maybe the object has changed and it's better create preview using the current frame.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D12018
July 30, 2021, 14:56 (GMT)
Install_deps: Add zstd dependency.

Ref T88438.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021