Revision a7dc752 by Patrick Busch / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Python API: Expose CurveMapping Reset View function The Python API for the curve mapping widget offers the `update` function, but no way to reset the view to the clipping rectangle. This commit adds a blenkernel function for this operation, and exposes it to the CurvMapping RNA API. This allows addons to display a more user-friendly view of the data in this widget. Differential Revision: https://developer.blender.org/D10561 |
Revision b88c7f7 by Richard Antalik / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Fix T85970: Incorrect scaling of meta strips This is same issue as fixed by d85789255320, but I forgot to check meta strips. Meta strip output is always in render size. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10560 |
Revision bf3288e by Philipp Oeser / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Fix (unreported) light cache bake crash missing NULL check if there is no cache there to begin with. Differential Revision: https://developer.blender.org/D10581 |
Revision c8a7e3a by Richard Antalik / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
FFmpeg: Improve scrubbing performance Applying negative offset to seek position before scanning doesnn't have any effect. This change results in 1.5x faster seeking (random frame, average value) in sample file with 30 frame GOP length. If I am not mistaken, B frames can have pts that can be less than pts of I frame that must be decoded. Even in this case though, B frame packet will be stored after that I frame. In addition, preseek value is de facto hardcoded so seeking would fail if it could. This can be hard to spot though. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10529 |
Revision ca69a30 by Jacques Lucke / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Fix T86172: check if attribute is actually accessible The crash happened when the density in the Point Distribute node was above zero but so small, that no point was generated. In this case, there was a point cloud component, but the point cloud was empty, making some attributes unavailable. One could also make more attributes available in this case, but that can be done separately if necessary. |
Revision cd240d8 by Richard Antalik / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Fix Fuild error with lite build With audaspace disabled, function SEQ_add_sound_strip was declared as prototype. |
Revision d194b03 by Clément Foucault / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Revision d59ac43 by Jeroen Bakker / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
Fix T86122: Performance Debug View Viewport Not Working The performance debug menu isn't used that often anymore as render doc also show the timings. This patch will make sure that enabling the performance debug view (21) does not crash blender. |
Revision f5ede4e by Hans Goudey / Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
UI: Expose an "is first search" boolean to search button callbacks Currently when you open an RNA collection search button, like a vertex group selector, the search filter isn't applied until you start typing, in order to display every option at the start. Otherwise they wouldn't be visible, since the search filter would run for the current text. Currently this check happens in one place, but it relies on the `changed` value of `uiBut`. This is fine in the interface directory, but anywhere else it would require exposing `uiBut.changed`, which is probably too low-level to expose. The solution is adding an `is_first` argument to the search callbacks, which is nice for a few reasons: - They work at a higher level of abstraction, meaning they don't have to worry about how exactly to tell if this is the first search. - It makes it easier to do special behavior when the search menu is first opened. - Then, obviously, it makes that state accessible without including `interface_intern.h`. Needed for attribute search: T85658 Differential Revision: https://developer.blender.org/D10528 |
Revision eef2a34 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 2, 2021, 15:23 (GMT) |
Refactor UIList template for further changes and to fix some glitches Could go further than that, I think this would benefit from some C++ features, but we can do that in another pass. |
Revision 378b7eb by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 2, 2021, 10:56 (GMT) |
Merge branch 'master' into ui-asset-view-template |
Revision 3ce680f by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 1, 2021, 16:11 (GMT) |
Merge branch 'master' into ui-asset-view-template |
Revision bc9eac2 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 1, 2021, 15:45 (GMT) |
Initial AssetList API & use it to load assets for the asset view tempate Lots of hacks and temporary code here. I wanted a first working version to find possible pain points before getting into details. Basic idea is to store each asset library in an `AssetList`, with a globally accessible storage. Internally the list uses the File Browser's `FileList` which already does a fair amount of heavy lifting (threaded file & external asset reading, lazy loading of visible previews, ...). The File Browser could access the global asset-list storage as well. The asset view template uses the new asset list to load and display the assets. Current state: {F9856940} Open TODOs: https://developer.blender.org/maniphest/query/M6RWFxFSDor3/#R |
Revision 796c599 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) February 23, 2021, 17:50 (GMT) |
Add initial asset-view template, with dummy contents (palette colors) Idea is to be able to display a list of assets in a layout, by giving it some custom filtering settings (not done yet). This would be just a uiList managed by Blender, displaying previews similar to the Asset Browser. I decided to use uiLists for this because it already deals with stuff like writing its UI data to .blends (e.g. filtering and sort settings), filtering and scrolling. But I think we'll have to do a number of general improvements to them. Here I just added a new (C-only for now) "flexible grid" list display type, which uses bigger previews and behaves much better than the currend "grid" one. There's a bit of hacking going on here and things will probably change. For now I'm just interested in getting the basics done to see if the direction is good. |
|