Blender Git Loki

Blender Git "asset-browser" branch commits.

Page: 2 / 27

June 5, 2021, 16:08 (GMT)
Merge branch 'asset-browser-poselib' into asset-browser
June 5, 2021, 16:08 (GMT)
Merge branch 'master' into asset-browser
June 5, 2021, 16:02 (GMT)
GPencil: Change Fill Boundary icon

The icon has been changed to `eye` because is more consistent with other areas.
June 5, 2021, 16:02 (GMT)
Fix assert check in BLI_polyfill_beautify
June 5, 2021, 16:02 (GMT)
Edit Mesh: partial updates for normal and face tessellation

This patch exposes functionality for performing partial mesh updates
for normal calculation and face tessellation while transforming a mesh.

The partial update data only needs to be generated once,
afterwards the cached connectivity information can be reused
(with the exception of changing proportional editing radius).

Currently this is only used for transform, in the future it could be
used for other operators as well as the transform panel.

The best-case overall speedup while transforming geometry is about
1.45x since the time to update a small number of normals and faces is
negligible.

For an additional speedup partial face tessellation is multi-threaded,
this gives ~15x speedup on my system (timing tessellation alone).
Exact results depend on the number of CPU cores available.

Ref D11494

Reviewed By: mano-wii
June 5, 2021, 16:02 (GMT)
Limit Rotation: explicitly orthogonalize the matrix before processing.

Add a call to orthogonalize the matrix before processing for the
same reasons as D8915, and an early exit in case no limits are
enabled for a bit of extra efficiency.

Since the constraint goes through Euler decomposition, it would
in fact remove shear even before this change, but the resulting
rotation won't make much sense.

This change allows using the constraint without any enabled limits
purely for the purpose of efficiently removing shear.

Differential Revision: https://developer.blender.org/D9626
June 5, 2021, 16:02 (GMT)
Fix T88813: Scalable allocator not used on win10

Due to the way we ship the CRT on windows TBB's
malloc proxy was unable to attach it self to
the memory management functions on windows 10.

This change moves ucrtbase.dll out of the blender.crt
folder and back into the main blender folder to side
step some undesirable behaviour on win10 making TBB
once more able to attach it self.

Having this work again, should give a speed
boost in memory allocation heavy workloads
such as mantaflow.

For details on how this only failed on Win10
see T88813
June 5, 2021, 16:02 (GMT)
Fix T88859: Assert when changing view modes

The `loose_lines`' ibo was not being initialized.
June 5, 2021, 16:02 (GMT)
Limit Rotation: add an Euler Order option.

Since Limit Rotation is based on Euler decomposition, it should allow
specifying the order to use for the same reasons as Copy Rotation does,
namely, if the bone uses Quaternion rotation for its animation channels,
there is no way to choose the order for the constraint.

Ref D9626
June 5, 2021, 16:02 (GMT)
Fix assert in gpencil_batches_ensure
June 5, 2021, 16:02 (GMT)
Texture Paint: changing paint slots and viewport could go out of sync

When changing to another texture paint slot, the texture displayed in
the viewport should change accordingly (as well as the image displayed
in the Image Editor).

The procedure to find the texture to display in the viewport
(BKE_texpaint_slot_material_find_node) could fail
though because it assumed iterating nodes would always happen in the
same order (it was index based). This is not the case though, nodes can
get sorted differently based on selection (see ED_node_sort).

Now check the actual image being referenced in the paint slot for
comparison.

ref T88788 (probably enough to call this a fix, the other issue(s)
mentioned in the report are more likely a feature request)

Reviewed By: mano-wii

Maniphest Tasks: T88788

Differential Revision: https://developer.blender.org/D11496
June 5, 2021, 16:02 (GMT)
FFmpeg: Fix seeking not returning the correct frame when not using TC index

Fixed the logic for seeking in ffmpeg video files.
The main fix is that we now apply a small offset in ffmpeg_get_seek_pos
to make sure we don't get the frame in front of the seek position when
seeking backward.

The rest of the changes is general cleanup and untangling code.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11492
June 5, 2021, 16:02 (GMT)
Nodes: Add Multiply Add to Vector Math nodes

Cycles, Eevee, OSL, Geo, Attribute

This operator provides consistency with the standard math node. Allows users to use a single node instead of two nodes for this common operation.

Reviewed By: HooglyBoogly, brecht

Differential Revision: https://developer.blender.org/D10808
June 5, 2021, 16:02 (GMT)
GPencil: Change Fill extend lines icon

The icon has been changed to `eye` because is more consistent with other areas.
June 5, 2021, 16:02 (GMT)
Cleanup: indentation
June 5, 2021, 16:02 (GMT)
Cleanup: spelling in comments

Also remove reference to function that never existed for adding `bNode`.
June 5, 2021, 16:02 (GMT)
Fix T88828: View/Navigation(Walk/Fly) disappeared from keymap

This was unintentionally removed in
f92f5d1ac62c66ceb7a6ac1ff69084fbd5e3614a.
June 5, 2021, 16:02 (GMT)
BMesh: avoid extra faces-of-edges loop building partial update data
June 5, 2021, 16:02 (GMT)
Cleanup: use ternary operator for icon argument
June 5, 2021, 16:02 (GMT)
windows/deps: Fix TBB build issues.

rB847579b42250 updated the TBB build script
which had some unintended consequences for
windows as the directory layout slightly
changed.

This change adjusts the builder to the new
structure, there are no version/functional
changes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021