Blender Git Commits

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

Page: 12 / 18

July 30, 2021, 14:56 (GMT)
UI: Use more descriptive wording for particle modifier conversions

Currently the wording is a bit unclear: it doesn't specify //what// the particles will be converted into. This clarifies it by stating what the particles will be converted into: they will either be converted to a mesh or the instances will be made real.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D11795
July 30, 2021, 14:56 (GMT)
Fix: Bezier segment node adds handles incorrectly

This caused the "cyclic" attribute to appear dysfunctional.
July 30, 2021, 14:56 (GMT)
Cleanup: replace NB with NOTE in comments
July 30, 2021, 14:56 (GMT)
Cleanup: replace BLI_assert(0 && "text") with BLI_assert_msg
July 30, 2021, 14:56 (GMT)
Compositor: Fix crash when connecting multiple constant inputs

Operation receiving inputs was being folded more than once
when it was constant foldable.
July 30, 2021, 14:55 (GMT)
Cleanup: Separate keyframes_draw and keyframes_keylist.

The keylist functions are used in other places for none drawing related
stuff. Fe pose_slide uses it.
July 30, 2021, 14:55 (GMT)
Cleanup: remove unused pathlib import
July 30, 2021, 14:55 (GMT)
Fix T89941: No path`s bevel update, when I change bevel profile curve

Update was skipping the batch cache.
July 30, 2021, 14:55 (GMT)
Revert "Depsgraph: Implement 'ID_RECALC_GEOMETRY_DEFORM'"

This reverts commits
bfa3dc91b75407b063f2ac991b176d98c050f92d,
52b94049f2a71a74f52247f83657cf3a5c8712b4,
ae379714e4f1eca74f5f77532a6e959f29445236,
a770faa811ee62837eb540b0bd83ca0770f16663,
4ed029fc02b022cb5ff28ed3ce70992c450d2be5,
101a493ab556c6597ac91fba204059be67b35990 and
62a2faa7ef39130446716d7a06215cd1df1eb2ac.

And fixes T89955.

Changing the dependency graph is a can of worms and the result is
a kind of unpredictable.

A different solution will be planned.
July 30, 2021, 14:55 (GMT)
Compositor: Full frame Viewer node

Adds full frame implementation to this node operation.
No functional changes.
No performance changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11698
July 30, 2021, 14:55 (GMT)
Compositor: Buffer iterators

Currently we mostly iterate buffer areas using x/y loops or through
utility methods extending from base classes.

To simplify code in simple operations this commit adds wrappers for
specifying buffer areas and their iterators for raw buffers with any
element stride:
- BufferRange: Specifies a range of contiguous buffer elements from a
given element index.
- BufferRangeIterator: Iterates elements in a BufferRange.
- BufferArea: Specifies a rectangle area of elements in a 2D buffer.
- BufferAreaIterator: Iterates elements in a BufferArea.
- BuffersIterator: Simultaneously iterates an area of elements in an
output buffer and any number of input buffers.
- BuffersIteratorBuilder: Helper for building BuffersIterator adding
buffers one by one.
For iterating areas coordinates it adds `XRange` and `YRange` methods
that return `IndexRange`.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11882
July 30, 2021, 14:55 (GMT)
Update documentation string for mathutils.geometry.delaunay_2d_cdt.
July 30, 2021, 14:55 (GMT)
Cleanup: Clang format
July 30, 2021, 14:55 (GMT)
Geometry Nodes: Curve Trim Node

This node implements shortening each spline in the curve based on
either a length from the start of each spline, or a factor of the
total length of each spline, similar to the "Start & End Mapping"
panel of curve properties.

For Bezier curves, the first and last control points are adjusted
to maintain the shape of the curve, but NURB splines are currently
implicitly converted to poly splines.

The node is implemented to avoid copying where possible, so it outputs
a changed version of the input curve rather than a new one.

Differential Revision: https://developer.blender.org/D11901
July 30, 2021, 14:55 (GMT)
Make it optional to track input->output mapping in delaunay_2d_calc.

Some uses of delaunay_2d_calc don't need to know the original verts,
edges, and faces that correspond to output elements.
This change adds a "need_ids" value to the CDT input spec, default true,
which tracks the input ids only when true.
The python api mathutils.geometry.delaunay_2d_cdt gets an optional
final bool argument that is the value of need_ids. If the argument
is not supplied, it is true by default, so this won't break old uses
of the API.

On a sample text test, not tracking ids save about 30% of the runtime.
For most inputs the difference will not be so dramatic: it only really
kicks in if there are a lot of holes.
July 30, 2021, 14:55 (GMT)
Compositor: Full frame Brightness node

Adds full frame implementation to this node operation.
No functional changes.
2.4x faster than tiled fallback.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11677
July 30, 2021, 14:55 (GMT)
Cleanup: minor correction to delaunay_2d_cdt doc-string

Use more conventional syntax for default arguments.
July 30, 2021, 14:55 (GMT)
Compositor: Full frame Ellipse Mask node

Adds full frame implementation to this node operation.
No functional changes.
3x times faster than tiled fallback.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11635
July 30, 2021, 14:55 (GMT)
Fix broken 'undocumented' case in registration of Macro opertators.

Code dealing with macro operators missing description field was slightly
different than the one from Operator registration.

This lead to invalid memory accesses in some python introspection cases
like the i18n messages extraction code in `bl_i18n_utils` module.
July 30, 2021, 14:55 (GMT)
Cleanup: Move asset library reference C++ wrapper to own files

Although currently only the asset list code uses the asset library
reference wrapper, it can stand on its own and may be used in more
places in the future. So I prefer to give it its own source & header
file.

Also removed unused includes, added proper namespaces as per our C++
style guidelines, and removed an unnecessary TODO comment.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021