Blender Git Loki

Blender Git commits from all branches.

Page: 146 / 2888

August 16, 2021, 12:21 (GMT)
Fix T87967: M2T video seeking is broken

Bug caused by integer overflow in ffmpeg_generic_seek_workaround().
Function max_ii() was used to limit int_64tvalue.

After fixing the issue there was another issue, where near-infinite loop
was caused by requested_pos being very large and stream being cut in a
way, that it was missing keyframe at beginning.
This was fixed by checking if we are reading beyond file content.
August 16, 2021, 11:08 (GMT)
Switched to using one array of dirs for fillet
Revision ae2d505 by Sergey Sharybin (cycles-x)
August 16, 2021, 10:08 (GMT)
Merge branch 'master' into cycles-x
August 16, 2021, 09:57 (GMT)
Merge branch 'master' into xr-controller-support
August 16, 2021, 09:55 (GMT)
XR: Don't store controller node world transforms

Removes unnecessary storage of world space transforms for controller
model nodes. Now, only local space transforms are stored and the
world transforms are calculated from these local transforms when
needed.
August 16, 2021, 09:27 (GMT)
LineArt: Fix: Only load selected edge types.
August 16, 2021, 09:12 (GMT)
Sculpt dyntopo: Fix memory corruption caused by improperly disabled
code.
August 16, 2021, 08:44 (GMT)
Sculpt dyntopo: Fix boundary brush for multires

This commit fixes boundary brush for multires which
broke two commits ago.

This required implementing the geodesic api for PBVH_GRIDS,
which I did by building topology maps in a rather. . .
haphazard fashion.

Basically I built a vert->edge map and then used it to
derive a pseudo edge to quads mapping (it maps edges
to all the verts in the two surrounding quads except
the edge's own verts).

Just for fun I enabled geodesic mode in mask expand;
it seems to work.
August 16, 2021, 08:01 (GMT)
BLI_math: Fix several division-by-zero cases.

Those were caused by various tools used on degenerate geometry, see
T79775.

Note that fixes are as low-level as possible, to ensure they cover as
much as possible of unreported issues too.

We still probably have many more of those hidden in BLI_math though.
August 16, 2021, 07:48 (GMT)
Fix T83164: Spline IK `joint_bindings` parameter is broken.

Code freeing the array would not properly reset its length value to
zero.

Note that this corrupted data could also be saved in .blend files, so
had to bump fileversion and add some doversion code too.

Fix T90166: crash when creating a liboverride.
August 16, 2021, 07:45 (GMT)
Cleanup/Fix RNA array length accessors returning non-zero values in invalid cases.

This was apparently done in two places only, with a very cryptic comment
(`/* for raw_access, untested */`), and... I cannot see how returning a
non-zero length value for an array that does not exist or is not
accessible at least, would be anything but an obvious source of issues.

Note that both commits adding those lines are from stone ages (2009):
rBcbc2c1886dee and rB50e3bb7f5f34.
August 16, 2021, 07:44 (GMT)
Fix T89835: Crash after Instancing to Scene after making linked Collection local.

Even though the ID itself remain the same after being made local, from
depsgraph point of view this is a different ID. Hence we need to tag all
of its users for COW update, as well as rebuild depsgraph relationships.

Should be also backported to LTS 2.93 (and 2.83 if possible).
August 16, 2021, 07:43 (GMT)
Fix T85436: Separate by loose parts doesn't show new objects

Only the "changed" state from the last edit-object was used,
this meant the operator would not perform the necessary update
with multi-object edit-mode.

Use "changed" & "changed_multi" naming convention.
August 16, 2021, 07:41 (GMT)
Fix T90417: font loading creates duplicate ID names

Also repair any errors in existing files.

Error from e0dd3fe5872ba37ff188e292b80b46fcf8df413c.
August 16, 2021, 07:34 (GMT)
Fix T89450: Crash slicing BMEditSelSeq

Slicing with indices greater than the length of the sequence would crash.
August 16, 2021, 07:33 (GMT)
Fix slicing with negative indices

Negative indices that remained negative after adding the sequence length
caused incorrect slicing.

With the default scene for example:

bpy.context.scene.objects[-4:2]

Gave a different result to:

tuple(bpy.context.scene.objects)[-4:2]

Clamp indices above zero so loops that step forward works as intended.
August 16, 2021, 07:23 (GMT)
Fix fix invalid index use for edit-mesh laplacian smooth

Only vertex indices were ensured to be correct.
August 16, 2021, 07:17 (GMT)
Fix T90493: Undo a knife-project operation crashes

The crash occurred calling because mesh_get_eval_final in edit-mode
freed all derived mesh data without tagging the object for updating.

However meshes in edit-mode weren't meant to be used as knife-project
source-data, adding support for multi object edit-mode caused this.
August 16, 2021, 07:16 (GMT)
Fix T89241: 3D Text "Scale to Fit" wraps onto the second line

Disable wrapping when "scale to fit" is used, assert the error is
small so an invalid scale-to-fit value wont go by unnoticed.
August 16, 2021, 06:44 (GMT)
LineArt: Show shadow separator even if no projection.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021