Revision 8b8fdcc by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 17:00 (GMT) |
Asset View: Always show all poses, avoid double-scrollbar The asset view so far showed up to 5 items by default. If there were more assets to be shown than that, it the list would become scrollable. This would cause a scrollable box inside a scrollable region, which is not nice for interaction. We can just expand the list so all assets are in the layout, and the user can scroll the region rather than scrolling the list. Also hide the "grip" button so the list can't be resized. If needed we could allow making the list smaller still, even if that causes double scrolling again. For now keeping it simple. Had to add a "no grip" option for that, so I changed the signature a bit to avoid too many boolean arguments. And another also: Adds missing return after error check. |
Revision 9d8dc94 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 15:06 (GMT) |
Action preview rendering: properly tag the object when done Rendering a preview for an Action requires temporarily modifying the pose of some object (otherwise there is nothing to render); after this is done, the object needs to be tagged correctly to flush the temporary changes. |
Revision 0b2556c by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 11:59 (GMT) |
Pose Library: lock the interface while flipping a pose Flipping a pose Action temporarily changes the pose itself, which can cause visual jitter. This is prevented by locking the interface while flipping. |
Revision 0b2e8f0 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 11:19 (GMT) |
Cleanup: Asset Browser, move Action-specific rendering code Move some Action-specific code required to render the preview image into the part of the code that is already Action-specific. No functional changes. |
Revision 161f6b5 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 11:18 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision ed16875 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 10:10 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision 32da114 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 10:01 (GMT) |
Asset Browser: Apply a pose before rendering its preview icon When rendering the preview icon of an Action, apply it to the pose object first. This ensures that the "Refresh" button of a pose actually uses that pose. This splits some functions into two flavours, one that acts on all bones and one that acts on the selected bones only. Normal use of the pose library only acts on selected bones, but for the preview the entire pose from the library is applied, regardless of selection. |
Revision a2841b2 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 08:48 (GMT) |
Cleanup: Pose library, move pose backup code into its own file Move the pose backup & restore functionality into its own file, so that the functions can be called from other places in Blender as well. No functional changes. |
Revision 491147d by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 12, 2021, 18:01 (GMT) |
Merge branch 'master' into asset-browser-poselib |
Revision 4df66e9 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 12, 2021, 16:11 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision 1ed2ffa by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 12, 2021, 16:02 (GMT) |
Assets: explicitly free the temp-loaded asset datablock After temp-loading an asset datablock, explicitly free it before calling `BLO_library_temp_free()`. Without this step, normal linking would be performed, causing temp datablocks to actually be linked into the current blend file. |
Revision 2eb5d7b by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 12, 2021, 15:20 (GMT) |
Pose Library: set default blend percentage to 0% Set default blend percentage to 0% to allow smoothly blending of the pose asset into the current pose. |
Revision 57a3498 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 12, 2021, 14:25 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision 15a791d by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 9, 2021, 15:32 (GMT) |
Use correct add-ons branch for `make update` Also add TODO comments, hoping they help us not forget changing this back for the merge to master. |
Revision e0de4f3 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 9, 2021, 10:57 (GMT) |
Fix error on `context.copy()` because of asset-handle design The File/Asset Browser no longer provides the `asset_handle` pointer. In Python `asset_file_handle` needs to be used for now (will change in future). |
Revision 9383c64 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 9, 2021, 10:53 (GMT) |
Assets: make `ASSET_OT_open_containing_blend_file` work in UIList Make `ASSET_OT_open_containing_blend_file` in a asset view UIList as well as the Asset Browser. This uses the context variables `asset_file_handle` and `asset_library`, which are temporary in lieu of a better asset API. |
Revision 3a977a8 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 9, 2021, 09:32 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision e06ffcc by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 7, 2021, 15:48 (GMT) |
Update add-on HEAD for latest merge |
Revision 7413364 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 7, 2021, 15:10 (GMT) |
Merge branch 'master' into asset-browser-poselib |
Revision 8750f35 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 2, 2021, 17:11 (GMT) |
Expose more asset info and utilities in the Python API Needed so the pose library add-on can keep its operators work outside of the Asset Browser context, namely with the asset view template. An issue here is that we can't expose an asset handle from the Asset Browser, because there is not permanently saved one whose pointer we can pass around. This is planned to be addressed, but for now Python will have to use the file wrapped by the asset-handle directly, via `context.asset_file_handle`. |
|