Blender Git Loki

Kaikki Blender Git kommitit.

Page: 445 / 8462

July 16, 2021, 17:38 (GMT)
GPencil: More work to import asset (WIP)
Revision e7b441a by Hans Goudey (master)
July 16, 2021, 17:32 (GMT)
Cleanup: Simplify logic, use C++ types

Also remove an unecessary null check, and make inner loop simpler.
July 16, 2021, 17:16 (GMT)
Fix T89722: Duplicate macro can cause strips to overlap

Bug caused by 78693d524c13 accidentally removing overlap handling when
transform operator is canceled.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D11899
July 16, 2021, 17:16 (GMT)
VSE: Fix multicam splitting all selected strips

`split_multicam` used split operator, where if more strips than
multicam were selected, all would be split, which is undesirable.

Add `Sequence.split()` RNA API function. to split individual strips.
Function accepts `frame` and `split_method arguments`. Returns right
strip after splitting.

In case when strip being split have effects, these will be split too, so
no invalid state should be created.

Selection is not handled, this is by design up to user.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11926
Revision feba1fe by Hans Goudey (master)
July 16, 2021, 17:00 (GMT)
Cleanup: Move gpencil_geom.c to C++

This will help enable development on optimizations to the perimeter
calculation here. Using C++ data structures like Array can make the
code easier to read as well.

Longer term, this can help improve integration with attributes
and possibly the new curve code (since strokes and curves are
quite similar in theory).

Differential Revision: https://developer.blender.org/D11941
July 16, 2021, 16:44 (GMT)
adaptive_cloth: BKE_cloth_remesh: convert to and from AdaptiveMesh
July 16, 2021, 16:36 (GMT)
adaptive_cloth: Sizing: get edge size squared
July 16, 2021, 16:32 (GMT)
adaptive_cloth: VertData: initial implementation

Used to store extra `Vert` data in the `Mesh`.
July 16, 2021, 16:26 (GMT)
adaptive_cloth: NodeData: initial implementation

Used to store extra `Node` data in the `Mesh`.
July 16, 2021, 16:24 (GMT)
adaptive_cloth: BKE_cloth_remesh() add to namespace blender::bke
Revision c4df8ac by Hans Goudey (master)
July 16, 2021, 16:23 (GMT)
Fix T89899: Crashes when accessing vertex groups from objects

We need to be more strict about trying to retrieve a list of vertex group
names from objects now, as only three object types support them.
This commit adds a check for vertex group support in a few places, the
data transfer operator/modifier, copying vertex groups to selected
objects, and the vertex group remove and clear functions.

Differential Revision: https://developer.blender.org/D11947
Revision 6025897 by Hans Goudey (master)
July 16, 2021, 16:05 (GMT)
Cleanup: Get vertex group names directly from grease pencil data
Revision 802a59a by Hans Goudey (master)
July 16, 2021, 16:02 (GMT)
Cleanup: Remove redundant logic

The object type was checked twice unnecessarily. Also use a function
for the check to be more explicit.
July 16, 2021, 15:36 (GMT)
Add operator properties to transform for toggling node link intersect.
July 16, 2021, 15:22 (GMT)
bli: float2x2: multiply matrix with float
July 16, 2021, 15:22 (GMT)
bli: float2x2: add 2 matrices
July 16, 2021, 15:07 (GMT)
GPencil: Fix wrong array size and cleanup Hash code
July 16, 2021, 14:52 (GMT)
GPencil: Basic 2D cage drawing
July 16, 2021, 13:12 (GMT)
Surface Deform: support sparse binding mode for improving performance.

When a vertex group is used to limit the influence of the modifier
to a subset of vertices, binding data for vertices with zero weight
is not needed. This wastes memory, disk space and CPU cycles.

If the vertex group contents is known to be final and constant,
it is reasonable to optimize by only storing data group vertices.
This has to be an option in case the group can change.

Supporting this requires adding a vertex index field and spliting
the vertex count into mesh and bind variants, but both happen to
fit in available padding. The old numverts field is renamed to the
new bound vertex count field to maintain the array length invariant.
Versioning is used to initialize the other new fields.

If a file with sparse binding is opened in an old blender version,
it is corrupted into a non-sparse bind with vertex count mismatch,
preventing the modifier from working until rebind.

Differential Revision: https://developer.blender.org/D11924
July 16, 2021, 12:53 (GMT)
Fix T89782: Segfault populating popup menu with dimensions above the opengl limit

The crash happens because `GPU_offscreen_create` is called with `err_out` `NULL`.

This patch proposes a solution within the `GPU_offscreen_create` itself
and raises an error report in the interface if a menu is called with
dimensions beyond what is supported.

Ref T89782

Maniphest Tasks: T89782

Differential Revision: https://developer.blender.org/D11927
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021