Revision c2ee1af by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 22, 2021, 19:13 (GMT) |
Avoid warning when using FileSelectEntry.id_type on a non-ID file If the file doesn't represent an ID, the value will be `'NONE'` in Python. Otherwise a valid ID type (e.g. `'ACTION'`, `'OBJECT'`, etc.). |
Revision 3146c7c by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 22, 2021, 14:09 (GMT) |
Asset Browser: simple panel mix-in class for specific categories Add a class `AssetBrowserSpecificCategoryPanel` that only shows if the asset browser is showing a specific set of categories. This makes it simple for the Pose Library panels to only show when the user has selected the Animations category. |
Revision fc4ac7d by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 22, 2021, 09:09 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib I had to manually add a `bContext *` parameter to a `node_geometry_add_attribute_search_button()` call to fix a compiler error. |
Revision 4588609 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 20, 2021, 15:46 (GMT) |
Asset View: Activate poses when "walk" navigating the active asset When using the arrow keys to "walk" the active item in the asset view, call the activate operator which applies the pose asset. This is useful for animators to easily go through poses on the search for an appropriate one. |
Revision c8054b3 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 20, 2021, 14:50 (GMT) |
Cleanup: Slightly correct comment from previous commit |
Revision 2565470 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 20, 2021, 14:41 (GMT) |
UI Lists: Add Ctrl+F for searching, brings search field into view The Ctrl+F is a general UI list feature. You can hover any UI list and press Ctrl+F now to open and activate the search field. If needed the view is scrolled to make it completely visible (with some additional margin). Plus, the view is updated to keep the search field visible while typing. The latter part is also a text button feature. When you activate a text button (that doesn't have a search menu attached, which causes further issues), the UI code makes sure it's visible and keeps it visible while typing. This could go into master (after some functionality review), I'll check on that in a bit. |
Revision 135298a by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 19, 2021, 13:32 (GMT) |
Fix missing refresh of Asset View UI template previews after regenerating |
Revision a7858c8 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 16, 2021, 13:44 (GMT) |
Pose Library: free flipped Action before freeing all temp-loaded data Free the flipped Action before calling `poselib_tempload_exit()`, to avoid any problems from indirectly referenced ID pointers. Thanks @campbellbarton for the patch! |
Revision b9ea20a by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 16, 2021, 13:33 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision 825eab8 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 16, 2021, 13:32 (GMT) |
Revert "Assets: explicitly free the temp-loaded asset datablock" This reverts commit 1ed2ffa8d07d4921c0ecfa836554ece178c80d6d. The master branch has a better solution (afd8e4bce7937baf016b973c091da3d954ffaf76) and will be merged soon. |
Revision e945ca3 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 16, 2021, 00:08 (GMT) |
Fix crash with "Current File" library and "Reload Scripts" When a (Python defined) UI-list type is unregistered, we have to make sure no list still references that type. We do the same for other such UI types. This didn't happen to be an issue before, since the list type was not accessed until the list was drawn again (which re-assigns the type). |
Revision 6a523da by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 15, 2021, 21:45 (GMT) |
Fix C-linkage warning on Clang After macro expansion, there would be C++ code in code with C linkage (`extern "C"`). Clang warned about this. Make sure the expanded C++ code always uses C++ linkage. Will commit this to master soon. |
Revision 60b8890 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 14, 2021, 13:21 (GMT) |
Merge branch 'master' into asset-browser-poselib |
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 8c9e508 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 13, 2021, 17:00 (GMT) |
Fix compile error when using UIList template flags in C++ C++ has strongly typed enums (which is great!), so a bitwise OR on two enum values will result in a compiler error. Use our `ENUM_OPERATORS()` utility to overload the bitwise operations to be valid for this strong enum type. |
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 |
|