Blender Git Loki

Kaikki Blender Git kommitit.

Page: 442 / 8462

July 18, 2021, 19:04 (GMT)
USD import option description typo.

Fixed typo in Import USD Preview option description.
July 18, 2021, 18:43 (GMT)
USDImportParams designated initialization.

Now using designated initializers when constructing the import
params struct, to help future-proof the code if struct members
are changed or reordered. (Per suggestion by Campbell in his
review of the patch.)
July 18, 2021, 18:11 (GMT)
Fix T89929: Crash when hiding in the render a previously keyframed volume

Regression introduced in {rBbfa3dc91b754}.

`ID_RECALC_GEOMETRY` should tag all operations of the `GEOMETRY`
component and not just the operation of node `GEOMETRY_EVAL_INIT`.
July 18, 2021, 18:09 (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 18, 2021, 16:13 (GMT)
Speed up Delaunay raycast.

From Erik Abrahamsson, this uses parallel loops for raycasting.
It speeds up one example with many crossings of a bezier curve,
from 0.68s to 0.28s.
July 18, 2021, 16:09 (GMT)
Versioning: fix vertex group name loss in linked duplicates.

After rB3b6ee8cee708 by @HooglyBoogly vertex groups were moved
to mesh data, and versioning code was provided to upgrade old
files. However, it fails to consider the case of linked duplicates
having different name lists, and dependent on the object order
can cause some of the names to be lost. This can even be all of
them, if there is a duplicate without any names, which can be
easily created by lazy Python code.

To fix this, change the code to use the longest available name list.

Differential Revision: https://developer.blender.org/D11958
July 18, 2021, 16:09 (GMT)
adaptive_cloth: AdaptiveMesh: set_edge_sizes()

Based on the `Sizing` stored in the `Vert`s of the `Edge`s, store the
"size" of the `Edge` in it's extra data.
July 18, 2021, 16:04 (GMT)
adaptive_cloth: Mesh: change visibility of many utility functions

Make them protected instead of private.

Functions that get some element from the `Mesh` (maybe through other
elements) can be used by derived classes. It might make sense to make
these functions public directly instead of protected but will take
that decision later.
July 18, 2021, 16:02 (GMT)
adaptive_cloth: Vert: get_uv() and get_uv_mut()
July 18, 2021, 15:59 (GMT)
adaptive_cloth: Mesh: get extra data from elements

Simple functions to get extra data from elements.
It is possible make `extra_data` public but this reduces readability
of the code. By having these functions, intent is obvious.
July 18, 2021, 15:59 (GMT)
Fix: Incorrect logic in spline lookup function

This section of code deals with evaluated points,
so that is the size it should use.
July 18, 2021, 15:27 (GMT)
GPencil: Use Shift key to keep pivot in Center for scale
July 18, 2021, 15:17 (GMT)
GPencil: Create missing materials

Still need more work to avoid duplications
July 18, 2021, 14:48 (GMT)
Greatly improve speed of Delaunay when have a lot of holes.

Using part of a patch from Erik Abrahamsson, this replaces the
use of linked lists for original id tracking by Sets.
I had thought that the lists were unlikely to grow to more than
a few elements, but when the mesh has a lot of holes (whose
original ids go *outside* the hole, and therefore, most of the
mesh), this assumption can be very wrong.
On a Text regression test, the time went from 11.67s to 0.16s
with this fix. I also tested to make sure that Boolean didn't
slow down with this, and found it actually had a very slight speedup.

Using Sets exposed a dependency on the ordering of the items
in the id lists, luckily caught by a mesh intersect regression test,
so fixed that.
July 18, 2021, 14:30 (GMT)
GPencil: More work on asset import

Remove strokes if cancel.
Cleanup code
July 18, 2021, 12:55 (GMT)
Merge branch 'master' into soc-2021-knife-tools
July 18, 2021, 12:53 (GMT)
Knife: Fixed undo when cut is on edge

Fixed undo with cut segments along mesh edges and cut segments not over a mesh.
Cut segments along a mesh edge also no longer show as they are redundant.
July 18, 2021, 11:30 (GMT)
Fix conditions to start Thumbnail Job

Jobs started when view changes or images not loading. Multiple strips now
work without error but slow. In the order of strips thumbs are loaded.
July 18, 2021, 11:30 (GMT)
Merge branch 'master' into soc-2021-vse-strip-thumbnails
July 18, 2021, 11:14 (GMT)
Use multithreading to set face varying data.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021