Revision c72501d by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 14:01 (GMT) |
Pose library: remove invalid flags The wrong flags were used, and it works fine without flags as well. No functional changes. |
Revision 0876123 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 12:11 (GMT) |
Merge branch 'ui-asset-view-template' into asset-browser-poselib |
Revision 0e071e0 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 16, 2021, 12:06 (GMT) |
Store active asset library at workspace level The Asset Browser still has its own active asset library. But for the UI (e.g. the asset view UI template), there is one active asset library per workspace now. This is needed because for technical reasons the property has to be registered in C, ideally you could just register it as custom property for any use-case and pass that to the asset view template. Since this isn't possible, an active asset library per workspace seems reasonable. |
Revision e8573d9 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 10:56 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision 2fad30b by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 16, 2021, 10:43 (GMT) |
Merge branch 'master' into ui-asset-view-template |
Revision a96501d by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 10:43 (GMT) |
Pose Library: get initial blend factor from RNA property |
Revision fa848c9 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 10:41 (GMT) |
Pose Library: don't crash `POSELIB_OT_blend_pose` outside asset browser |
Revision db6c471 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 10:05 (GMT) |
Cleanup: update TODO No functional changes. |
Revision 2e6aab2 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 16, 2021, 10:04 (GMT) |
Pose Library: blend quaternions properly, instead of LERPing them This also removes the `bool flush_to_original` argument, as this flushing is not required for the pose library (poses are always applied to the original, and not to evaluated copies). |
Revision 2a6f360 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 17:05 (GMT) |
Cleanup: remove unnecessary `ATTR_FALLTHROUGH` `ATTR_FALLTHROUGH` is only necessary when there is actually code inside the falling-through `case`. No functional changes. |
Revision 06c41b3 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:45 (GMT) |
Explicitly consider hidden bones as not selected |
Revision 4673e3c by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Cleanup: pose library, remove unused includes No functional changes. |
Revision 4e88fbb by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Pose blending: also apply rounding to floats My code for interpolating booleans basically performed the same function as the rounding for ints and enums. Now the code is the same, too. No functional changes |
Revision 55e79d1 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Add operator `POSELIB_OT_blend_pose` for interactive pose blending The operator doesn't blend yet, but it does allow temporarily applying the pose, switching between the original and the given pose with Tab, applying the pose with Enter/LeftClick, and cancelling with Esc/RightClick. |
Revision 5cc35eb by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Rough implementation for temp-loading poses from C The code needs some cleanup, as the temp-loading of asset datablocks needs to be separated from the pose library code. |
Revision 85d88cd by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Cleanup: remove unused code and rename variables/fields No functional changes. |
Revision b54cef3 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Pose library: add simple blending of pose Action onto current pose Naieve blending of the pose Action onto the current pose. This performs linear blending (LERP) per FCurve. This is not suitable for rotations, so it's probably better to do proper matrix interpolation for loc/rot/scale. However, for other properties, the current LERP will be necessary anyway. |
Revision e62016a by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 15, 2021, 16:02 (GMT) |
Pose library: Use scrollwheel to set the blend factor This is not the final UI, but gives a way to at least set it to some value. |
Revision 3d706bb by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 11, 2021, 17:05 (GMT) |
Do proper updates when local asset data changes Makes sure the asset list is updated and redrawn correctly an local asset data changes: Creating assets, removing assets, clearing assets, undo/redo, reading files (with and without UI), parallel reading of asset data from files, ... For redraws there now is a listener callback in the uiList type (C only) that asks the asset lists if it needs a redraw after a given notifier. For the case of asset data-block removal there is a ID remapping function in the asset list now (just tags the list for a complete re-read). File reading, undo, redo and the "Mark Asset"/"Clear Asset" operators explicitly tag asset lists showing main data as dirty (via the global asset storage). |
Revision d71b7ff by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 11, 2021, 16:50 (GMT) |
Merge branch 'master' into ui-asset-view-template |
|