Blender Git Commits

Blender Git "master" branch commits.

Page: 398 / 5574

February 6, 2021, 02:29 (GMT)
Cleanup: malformed web addresses in comments
Revision abfb9db by Wayde Moss
February 5, 2021, 22:47 (GMT)
Fix: Disabled NLA Interferes with Action Eval

Introduced by my commit: rB09709a7e64ff

This bug effectively enabled the NLA when it should be disabled, when
all tracks muted or no strips exist. Specifically, the NLA Action Track
settings would be used (extrapolation, blendmode, influence).
Revision 10e23fd by Wayde Moss
February 5, 2021, 21:52 (GMT)
NLA: Refactor Transition, Use Snapshot Blend Func

The function `nlastrip_evaluate_transition()` has been slightly
modified to use `nlasnapshot_blend()` instead of it's own special
blending function `nlaeval_snapshot_mix_and_free()`.

No user functional changes

Reviewed By: sybren, #animation_rigging

Differential Revision: https://developer.blender.org/D10221
Revision 5bc9ddd by Wayde Moss
February 5, 2021, 19:19 (GMT)
Fix T85380: NLA Evaluation Missing Null Check

Introduced by commit: rB40b7929cc040
February 5, 2021, 18:15 (GMT)
Image: Flip image operator

This implements an operator to flip the contents of an image buffer. It
supports flipping the image horizontally and vertically.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10310
February 5, 2021, 18:15 (GMT)
GPencil: New python API to force stroke triangulation data update

In some python scripts, the coordinates of the points are manipulated, but there are no way to force the recalculation and need hack to force the refresh.

The new api allows to call to the refresh function directly.

example: `gp_stroke.points.update()`
February 5, 2021, 18:02 (GMT)
Massive install_deps update.

Unfortunately one issue raising another one, this ended up being a
fairly big update, with:

*Fixes:
** Dependencies between libraries are better handled (would fail
previously in some cases when the lib was also available as package).
** Dependency of Boost over Python is now taken into account.
** Fix CMake flags to use local own built boost.
** Fix building numpy.

*Changes:
** We now use pip for all python modules (including numpy).
** Added all missing python modules (requests etc.).

*Updates:
**USD: 20.08, Due to build failing with 20.05 (missing include).
Revision 07521b1 by Sergey Sharybin
February 5, 2021, 16:13 (GMT)
Depsgraph: Remove no-op evaluation function

Make the SHADING_PARAMETERS operation on node tree a real no-op.
The function used as a callback was only doing a debug print.

The issue with this function was that an original ID was passed
as an argument. This is a violation of design, and if anything it
should be left up to the implementation to check whether depsgraph
is active.

There are no functional changes for users in the interface. The
only difference is that the debug print will no longer happen.
February 5, 2021, 15:43 (GMT)
Cleanup: Use lambda instead of function bind

More detailed explanation why it is a preferred way of coding
nowadays can be found at

https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-bind.html

Resolves modernize-avoid-bind Clang-Tidy warning.

Differential Revision: https://developer.blender.org/D10320
February 5, 2021, 15:43 (GMT)
Cleanup: Use raw string literal

Resolves modernize-raw-string-literal Clang-Tidy warning

The way warning works is it suggests to use raw literal when
overhead of having escape characters is higher than the overhead
of having raw literal syntax (talking about code size overhead).
This means that the warning will not trigger for "foo"bar".

Differential Revision: https://developer.blender.org/D10322
February 5, 2021, 15:24 (GMT)
DNA: support structs with a size of 1 or 2 bytes.

Before the smallest possible dna struct size was 4 bytes.

Differential Revision: https://developer.blender.org/D10287
February 5, 2021, 15:24 (GMT)
Merge branch 'blender-v2.92-release'
February 5, 2021, 15:23 (GMT)
Fluid: Updated Mantaflow source files

This updates fixes the following issues (critical for 2.92):

- Issue that prevented dense 'int' grids from being exported (incorrect clip value)
- Issue with particles outside out of domain bounds (position between -1 and 0) not being deleted
February 5, 2021, 15:21 (GMT)
Cleanup: Minimize seq->tmp usage

Using this persistent field in `select_more_less_seq__internal` was
inapropriate in this case.

Split select more/less and linked code, because it was mixed in
`select_more_less_seq__internal()`
These operators work in completely different way.
`select_linked_internal()` doesn't use seq->tmp at all.

`seq->tmp` was used to mask strips selected by operator while iterating.
Use GSet to store temporary data instead of `seq->tmp`.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10326
February 5, 2021, 15:20 (GMT)
Geometry Nodes: add Volume to Mesh node

This node takes a volume and generates a mesh on it's "surface".
The surface is defined by a threshold value.

Currently, the node only works on volumes generated by the
Points to Volume node. This limitation will be resolved soonish.

Ref T84605.

Differential Revision: https://developer.blender.org/D10243
February 5, 2021, 15:10 (GMT)
Geometry Nodes: support fixed pivot axis in Align Rotation to Vector node

When the pivot axis is not set to auto, the node will try to align the rotation
to vector as best as possible, given the selected rotation axis.

Ref T85211.

Differential Revision: https://developer.blender.org/D10292
February 5, 2021, 14:39 (GMT)
Cleanup: Use transparent functor

Resolves modernize-use-transparent-functors Clang-Tidy warning.

Differential Revision: https://developer.blender.org/D10323
February 5, 2021, 14:28 (GMT)
Geometry Nodes: Add Attribute Proximity Node

This node calculates a distance from each point to the closest position
on a target geometry, similar to the vertex weight proximity modifier.
Mapping the output distance to a different range can be done with an
attribute math node after this node.

A drop-down changes whether to calculate distances from points,
edges, or faces. In points mode, the node also calculates distances
from point cloud points.

Design task and use cases: T84842

Differential Revision: https://developer.blender.org/D10154
Revision 7054d03 by Ankit Meel
February 5, 2021, 13:39 (GMT)
Cleanup: Clang-tidy modernize-use-default-member-init

Using assignment syntax as we don't use `{}` initialization yet.

Reviewed By: sergey
Differential Revision: https://developer.blender.org/D9501
February 5, 2021, 13:30 (GMT)
Cleanup: Remove LibAV support

Ubuntu and Debian dropped libav in 2015 in favor of ffmpeg.
Development stopped of libav in 2018, so it should be save to remove.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021