Blender Git Loki

Blender Git "soc-2021-curves" branch commits.

Page: 14 / 19

June 21, 2021, 14:31 (GMT)
Geometry Nodes: Parallelize curve reverse node

Each spline can be handled separately here. This gives approximately a
2x speedup on my 8 core processor on an input of 80000 2 point splines.
June 21, 2021, 14:31 (GMT)
Cleanup: remove "_" prefix for used arguments
June 21, 2021, 14:31 (GMT)
Fix image space missing mask display panel
June 21, 2021, 14:31 (GMT)
Cleanup: use private methods for internal operator utilities

Also remove unused argument.
June 21, 2021, 14:31 (GMT)
BMesh: use faster normal update method for edit-mesh coordinates

This wasn't included in the previous fix so it'd be 2.93 compatible.
June 21, 2021, 14:31 (GMT)
Win8 cleanup, remove dead function pointer and macro.
June 21, 2021, 14:31 (GMT)
Fix: VSE seeking with proxy strips would fail on certain frames

If the last decoded frame had the same timestamp as the GOP current
packet, then we would skip over this frame when fast forwarding and we
would seek until the end of the file.

This would could only be triggered reliably in single threaded mode.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11601
June 21, 2021, 14:31 (GMT)
UI: Windows Blend File Association

This patch allows Windows users to specify that their current blender
installation should be used to create thumbnails and be associated
with ".blend" files. This is done from Preferences / System. The only
way to do this currently is from the command-line and this is sometimes
inconvenient.

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

Reviewed by Brecht Van Lommel
June 21, 2021, 14:31 (GMT)
PyAPI: remove deprecated bpy.app.binary_path_python
June 21, 2021, 14:31 (GMT)
Geometry Nodes: Curve Reverse Node

This is an implementation of T88722. It accepts a curve object and
for each spline, reverses the order of the points and all attributes.
This is more of a foundational node to support other nodes in the
future (like curve deform)

Selection takes spline domain attributes to determine which splines
are selected. If no selection is present all splines are reversed.

Differential Revision: https://developer.blender.org/D11538
June 21, 2021, 14:31 (GMT)
Cleanup: Refactor join geometry node attribute gathering

Instead of building a set and then determining the final domain and
type for every attribute separately in the loop, construct a map with
the necessary data in the first place. This is simpler and should be
slightly more efficient.

Split from D11491
June 21, 2021, 14:31 (GMT)
Cleanup: rename id to owner_id for python id properties

This is consistent with the naming in `PointerRNA`.
June 21, 2021, 14:31 (GMT)
Fix Build Warning

Marking unused function argument.

Introduced in bcff0ef9cabc

Differential Revision: https://developer.blender.org/D10887
June 21, 2021, 14:31 (GMT)
Error Messages Creating Thumbnail Folders

On the Windows platform there will be some errors printed to the
console if the user's thumbnail cache folder doesn't already exist.
While creating those folders there is an attempt to do so multiple
times and so we get errors when trying to create when exists. This
is caused by paths that have hard-coded forward slashes, which causes
our path processing routines to not work correctly. This patch defines
those paths using platform-varying separator characters.

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

Reviewed by Brecht Van Lommel
June 21, 2021, 14:31 (GMT)
Fix possible C-linkage warning on Clang

The warning would appear when using the `ENUM_OPERATORS()` macro inside
of an `extern "C"` block.
Didn't cause a warning in master currently, but in the
`asset-browser-poselib` branch.

After macro expansion, there would be C++ code in code with C linkage
(`extern "C"`). So make sure the expanded C++ code always uses C++
linkage.
The syntax used is totally C++ compliant: the C++ standard requires that
in such nested linkage specifications, the innermost one determines the
linking language (e.g. see
https://timsong-cpp.github.io/cppwp/n4659/dcl.link#4).
June 21, 2021, 14:31 (GMT)
Geometry Nodes: Curve to Points Node for Evaluated Data

This node implements the second option of T87429, creating points
along the input splines with the necessary evaluated information
for instancing: `tangent`, `normal`, and `rotation` attributes.
All generic curve point and spline attributes are copied to the
result points as well.

The "Count" and "Length" methods are just like the current options
in the resample node, but the output is points instead of a curve.
The "Evaluated" method uses the points you see on the curve directly,
and therefore should be the fastest.

The rotation data is retrieved from a transform matrix built with the
same method that the curve to mesh node uses. The radius attribute is
divided by 10 so the points don't look absurdly huge in the viewport.
In the future that could be an option.

For the implementation, one thing that could use an improvement
is the amount of temporary allocations while resampling to evaluated
points before the final points. I expect that reusing a buffer for
each thread would give a nice improvement.

Differential Revision: https://developer.blender.org/D11539
June 21, 2021, 14:31 (GMT)
Fix build error in release builds after recent changes
June 21, 2021, 14:31 (GMT)
Fix T87867: file open dialog triggers OneDrive file downloads on macOS

Until OneDrive supports macOS's native placeholder file implementation, detect
the com.microsoft.OneDrive.RecallOnOpen extended file attribute.

Differential Revision: https://developer.blender.org/D11466
June 21, 2021, 14:31 (GMT)
Fix T88494: add missing depsgraph relation update tags

Adding e.g. a Collection Info node creates a new depsgraph relation.
Therefore the relations should be updated.
June 21, 2021, 14:31 (GMT)
Python API: option for render engines to disable image file saving

For some custom rendering engines it's advantageous not to write the image files to disk.
An example would be a network rendering engine which does it's own image writing.

This feature is only supported when bl_use_postprocess is also disabled, since render
engines can't influence the saving behavior of the sequencer or compositor.

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