Blender Git Commits

Blender Git "asset-browser" branch commits.

Page: 8 / 27

March 30, 2021, 16:42 (GMT)
Fix File Browser double-click not working while in pose mode

The pose apply operator would be invoked when double-clicking a
directory in the File Browser, while in pose mode.
The operator's poll would succeed because since 29887bbb329d, the
File/Asset Browser would just create a `AssetHandle` from the active
file received from context, without ensuring that the file actually
represents an asset.
March 30, 2021, 12:09 (GMT)
Pose Library: correct status text when blending poses
March 30, 2021, 12:06 (GMT)
Pose Library: remember last-used blend factor

When the interactive blending operator finishes, store the chosen blend
factor in the RNA properties. This ensures that pressing F9 shows the
actual factor, which can then be readjusted.
March 30, 2021, 11:10 (GMT)
Pose Library: cleanly stop blending when quitting Blender

When Blender quits while the pose blending operator is active, set the
correct state (`POSE_BLEND_CANCEL`) before exiting, so that cleanup done
correctly.
March 30, 2021, 11:03 (GMT)
Asset Browser: monitor subprocess after opening new Blender

Monitor the new blender subprocess from the "Open Blend File" operator,
and reload the asset browser after the subprocess stops.
March 30, 2021, 10:47 (GMT)
Asset Browser: add "Open Blend File" operator to Asset browser context menu

Add an "Open Blend File" operator to the Asset Browser context menu,
which starts a new blender process to open the blend file containing the
active asset.
March 30, 2021, 08:22 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
March 30, 2021, 08:22 (GMT)
Pose Library: remove use of `BONE_UNKEYED` bone flag

This bone flag was removed in rBfd10c21f51243921e645939e3f6a569c19864d8e.

No functional changes.
March 29, 2021, 15:48 (GMT)
Pose Library: prevent auto-keying on linked Action

Prevent auto-keying when the current Action is a linked datablock.
March 29, 2021, 13:14 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib

# Conflicts:
# release/scripts/addons
# source/blender/blenkernel/intern/armature_pose.cc
# source/blender/makesrna/intern/rna_ID.c
March 29, 2021, 10:57 (GMT)
Pose Library: use mouse position to determine blend factor

Similar to the pose sliding tools, use the relative mouse position in the
active area to determine the pose blend factor.

This is not a final implementation, but at least makes the pose library
usable with a tablet.
March 26, 2021, 17:18 (GMT)
Fix crash when applying pose from external repository in Asset Browser

The Asset Browser uses the `FileList` from the File Browser, which isn't
properly using the `AssetList` yet. So of course getting the file-path
from the asset list will fail.

For now just add a little hack to fall-back to get the data from the
Asset Browser directly.
March 26, 2021, 16:25 (GMT)
Fix possible crash when blending poses

I did some casting hack to return an `AssetHandle` from a
`FileDirEntry`. But this doesn't actually work.

What I added now isn't something I'm happy with either, but it will have
to do for now. Basically we request an `AssetHandle`, which the Asset
Browser doesn't actually store, since it's just a wrapper around the
Asset Browser's `FileDirEntry`. So there is no consistent pointer the
editor could return to context queries, and the context needs a pointer
so that it can be passed around as `void *`.

Eventually once we have the planned asset storage design implemented,
the storage would include actual asset handles. So we can pass around
consistent pointers to them then.
March 26, 2021, 13:38 (GMT)
Correct function names for changes in ui-asset-view-template branch
March 26, 2021, 13:38 (GMT)
Cleanup: Use new utils provided by the asset system to get temp asset IDs

The operators are not exclusive to the File Browser anymore now. The logic to
get the asset file information and use that to append the ID if necessary is
abstracted away by the asset system now, see 10383566b800.
March 26, 2021, 11:44 (GMT)
Pose Library: add `POSELIB_OT_apply_pose_asset` operator

Add operator `POSELIB_OT_apply_pose_asset` that does the same as executing
(instead of invoking) `POSELIB_OT_blend_pose_asset` with
`blend_factor=1.0f`. This will replace the Python equivalent in the
pose library add-on.
March 26, 2021, 11:12 (GMT)
Pose Library: allow blending in flipped poses

Allow a flipped pose asset to be blended into the current pose.
March 26, 2021, 11:11 (GMT)
Cleanup: Rename `POSELIB_OT_blend_pose` to `POSELIB_OT_blend_pose_asset`

Rename the pose blending operator to `POSELIB_OT_blend_pose_asset`, so that
we can make an operator `POSELIB_OT_apply_pose_asset` without colliding
with the old `POSELIB_OT_apply_pose` operator (from the current pose
library system instead of the new one).

No functional changes.
March 26, 2021, 10:59 (GMT)
Revert "Cleanup: Use new utils provided by the asset system to get temp asset IDs"

This reverts commit b0395ba7186c1b0e1aede546b9ce2cfa41f5ffe7.
March 26, 2021, 10:54 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021