Blender Git Commit Log

All Blender Git commits.

Page: 803 / 8462

March 21, 2021, 18:49 (GMT)
Cleanup: compile errors on macos
March 21, 2021, 18:33 (GMT)
Functions: refactor virtual array data structures

When a function is executed for many elements (e.g. per point) it is often the case
that some parameters are different for every element and other parameters are
the same (there are some more less common cases). To simplify writing such
functions one can use a "virtual array". This is a data structure that has a value
for every index, but might not be stored as an actual array internally. Instead, it
might be just a single value or is computed on the fly. There are various tradeoffs
involved when using this data structure which are mentioned in `BLI_virtual_array.hh`.
It is called "virtual", because it uses inheritance and virtual methods.

Furthermore, there is a new virtual vector array data structure, which is an array
of vectors. Both these types have corresponding generic variants, which can be used
when the data type is not known at compile time. This is typically the case when
building a somewhat generic execution system. The function system used these virtual
data structures before, but now they are more versatile.

I've done this refactor in preparation for the attribute processor and other features of
geometry nodes. I moved the typed virtual arrays to blenlib, so that they can be used
independent of the function system.

One open question for me is whether all the generic data structures (and `CPPType`)
should be moved to blenlib as well. They are well isolated and don't really contain
any business logic. That can be done later if necessary.
March 21, 2021, 17:40 (GMT)
UI: Title case for Proxy Setup and fix typo
March 21, 2021, 15:48 (GMT)
Merge branch 'ui-asset-view-template' into asset-browser-poselib
March 21, 2021, 15:46 (GMT)
Fix crash when showing empty shape-keys list
March 21, 2021, 15:19 (GMT)
GPencil: Simplify fixed for bezier strokes
March 21, 2021, 15:11 (GMT)
Geometry Nodes: Make cone primitive 2m tall by default

This gives the cone mesh primitive more pleasing proportions by default.
March 21, 2021, 15:11 (GMT)
Geometry Nodes: Move cone primtive to rest on its base by default

This is generally what people expect when generating a cone. Note that
this translation currently happens after the rotation, but since the rotation
will likely be removed in the future, that won't be a problem for long.
March 21, 2021, 15:11 (GMT)
Geometry Nodes: Implicit interpolations to and from the edge domain

This patch adds the remaining 6 interpolations for mesh domains.
The new interpolations are:
- Corner / point / polygon to edge
- Edge to corner / point / polygon

After this it is possible to adapt an attribute to and from every
mesh domain. This is simple to test with the "Attribute Convert" node.

Though, as a note for the future, there are still some improvements
possible to the interpolations, like lazily calculating values for the
interpolations where it's possible, and slightly improving the
algorithms used for some interpolations, like using corner angles
for polygon to point.

Differential Revision: https://developer.blender.org/D10765
March 21, 2021, 15:11 (GMT)
Fix Cycles NaN assert in random walk SSS due to very small throughput

Now terminate if there are many bounces and the throughput gets so small
that we get precision issues.
March 21, 2021, 15:11 (GMT)
LibOverride: fix code trying to auto-resync linked overrides.

This is not only potentially extremely expensive, it is also fairly
futile, and code is not designed to handle it currently anyway (could
easily end up in inifinite loops and other crashes).
March 21, 2021, 15:11 (GMT)
Fix T86208: copy node group button is inconsistent in geometry nodes

Differential Revision: https://developer.blender.org/D10740
March 21, 2021, 15:11 (GMT)
Cleanup: add const.
March 21, 2021, 15:11 (GMT)
Cleanup: Replace std::vector with blender::Vector.
March 21, 2021, 15:11 (GMT)
Fix T86710: Crash When Adding Node Group.

When adding a node group there can be no inputs in the input map that
was triggering an assert.
March 21, 2021, 15:11 (GMT)
Cleanup: remove unused function
March 21, 2021, 15:11 (GMT)
Cleanup: minor changes to pose-mode apply visual transform

- Remove use of evaluated poses, instead calculate transformations
into an array which is applied afterwards.

- Only update ID's for poses that have been changed.
March 21, 2021, 15:11 (GMT)
BLI: Add location, rotation, scale constructor to float4x4

This is simply a convenience when using this type. More similar
constructors can be added in the future when they are useful.

Differential Revision: https://developer.blender.org/D10714
March 21, 2021, 15:11 (GMT)
Python API: Expose CurveProfile Reset View function

Allow python access to the `reset_view` functionality which before
was only available through the menu. This was suggested for
consistency after D10561.

Differential Revision: https://developer.blender.org/D10595
March 21, 2021, 15:11 (GMT)
Fix T86701: Geometry nodes Cube and UV Sphere mesh size

The size in the transform matrices was extra, since it is also
passed as an argument to the BMesh operators.

Differential Revision: https://developer.blender.org/D10763
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021