Blender Git Loki

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

Page: 14 / 26

July 30, 2021, 14:56 (GMT)
Fix T89979: Assert in edit mode with curve to mesh node

The node tagged polys normals dirty, but the function to calculate the
normals didn't clear the dirty flags for polys. Now clear the poly and
corner dirty normal flags.
July 30, 2021, 14:56 (GMT)
Cleanup: Correct asset TODO comment, move setter next to getter
July 30, 2021, 14:56 (GMT)
Fix T89687: Curve to mesh node incorrect face orientation

The new faces should have a winding direction that points them outward,
the fix was swapping the order of each face's edge and vertex indices.
July 30, 2021, 14:56 (GMT)
Cleanup: Move asset-handle functions to own file

Keeps files minimal and focused. I much prefer that over having all
kinds of stuff in general files like `asset_edit.cc`.
July 30, 2021, 14:56 (GMT)
Cleanup: Use const arguments and less sequential iteration

Using const indexes and offsets helps to make the logic less sequential,
which is hopefully easier to understand and possibly easier to parallelize
in the future. Also order return arguments last.
July 30, 2021, 14:56 (GMT)
Cleanup Preview rendering: Separate world preparation.

Small cleanup that moves world preparation out of scene preparation.
July 30, 2021, 14:56 (GMT)
Cleanup: fix clang-tidy warning readability-qualified-auto

No functional changes.
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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021