Blender Git Commits

Blender Git "temp-pose-flipping-fix-attempt" branch commits.

Page: 3 / 16

June 11, 2021, 14:31 (GMT)
Fix T89033: segfault reordering animation channels

Fix segmentation fault that can occur when reordering animation
channels.

Under some specific conditions, the list "act->curves" is empty in the
"join_groups_action_temp" function. In particular, this happens when a
scene contains an action that has not been pushed down, and with no
keyframe in it.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D11569
June 11, 2021, 13:43 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
June 11, 2021, 09:19 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
June 8, 2021, 12:46 (GMT)
Cleanup: add newline at end of bl_ui/__init__.py

Add newline at end of `bl_ui/__init__.py`

No functional changes.
June 8, 2021, 12:42 (GMT)
Move `Workspace` and `WindowManager` properties to poselib add-on

Move `WorkSpace.active_pose_asset_index` and `WindowManager.pose_assets`
from Blender to the Pose Library add-on. Since that add-on is the only
code using them, they belong there.
June 8, 2021, 10:41 (GMT)
Asset Browser: explain reason "Open Blend File" is disabled

Use `Operator.poll_message_set()` to explain to users why the "Open
Blend File" operator is disabled in the Asset Browser.
June 7, 2021, 12:57 (GMT)
Cleanup: add notice to pipeline_config.json

Add a notice to `pipeline_config.json` to indicate the changes in this
file shouldn't be merged to master.

No functional changes.
June 7, 2021, 09:37 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
June 7, 2021, 09:36 (GMT)
Pipeline config: use asset-browser-poselib addon branch

Configure the build pipeline to use the `asset-browser-poselib` addons
branch. This makes the `pose_library` addon available.

This change is similar to rB15a791d85cb29abc5f775c1aa57c5433cea0d958.
June 7, 2021, 08:56 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021