July 13, 2021, 10:03 (GMT) |
UI: support persistent state during number/slider interaction Support for begin/update/end callbacks allowing state to be cached and reused while dragging a number button or slider. This is done using `UI_block_interaction_set` to set callbacks. - Dragging multiple buttons at once is supported, passing multiple unique events into the update function. - Update is only called once even when multiple buttons are edited. - The update callback can detect the difference between click & drag actions so situations to support skipping cache creation and freeing for situations where it's not beneficial. Reviewed by: Severin, HooglyBoogly Ref D11861 |
July 13, 2021, 09:43 (GMT) |
Undo System: avoid redundant decoding on undo In most cases the undo system was loading undo steps twice. This was needed since some undo systems (sculpt, paint, text) require stepping out of the current undo step. Use a flag to limit this to the undo systems that need it. This improves performance for other undo systems. This gives around 1.96x speedup in edit-mesh for high-poly objects. Reviewed by: mont29 Ref D11893 |
July 13, 2021, 08:54 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-lineart-contained |
July 13, 2021, 08:50 (GMT) |
Merge remote-tracking branch 'origin/master' into lineart-shadow |
July 13, 2021, 08:45 (GMT) |
Edit Mesh: tag the object data for updating instead of the object When editing vertices with number buttons, tag the mesh, not the object. This prevents the evaluated mesh being re-created for the object and is correct as the mesh is being edited not the object. Note that all tags for updating object geometry should be checked to see if this change should be applied there too. From a simple test on a high-poly mesh this gives around 1.3x overall speedup. |
July 13, 2021, 08:45 (GMT) |
Cleanup: correct spelling in comments, remove profanity |
July 13, 2021, 08:45 (GMT) |
LineArt: Able to run shadow. |
July 13, 2021, 08:45 (GMT) |
LineArt: Fix modifier apply. After cache implementation line art apply will not show strokes properly, now fixed. # Conflicts: # source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c |
July 13, 2021, 08:44 (GMT) |
Fixed Refresh cache and strip slide error |
July 13, 2021, 08:41 (GMT) |
Fix T89435: Reordering FCurves can cause crash or corruption Correctly reset `prev` and `next` pointers of action group FCurves when separating them into distinct `ListBase`s per `bActionGroup`. These `NULL` pointers are necessary to temporarily demarcate the start & end of the `bActionGroup::channels` list. Having them still point to other FCurves caused ordering issues when moving curves towards the start/end of a group. This commit corrects the above issue and adds versioning code to rectify any ordering issues that may have been caused. For this purpose the `BKE_action_groups_reconstruct()` function is rewritten to avoid relying on the `bAction::curves` list order or `prev` link integrity. Differential Revision: https://developer.blender.org/D11811 |
July 13, 2021, 08:41 (GMT) |
Walk Navigation: Z axis correction Fly navigation has always had this option. They is particularly useful when users use "Trackball" as their orbit method. For walk navigation this works as a one off option. Not as a toggle like for fly navigation. Differential Revision: https://developer.blender.org/D11863 |
July 13, 2021, 08:41 (GMT) |
Fix: crash when using empty attribute search |
July 13, 2021, 08:41 (GMT) |
Fix a compiler warning on Windows for Exact Boolean. For some reason, the Windows compiler didn't like the static function being used in the parallel_reduece. |
July 13, 2021, 08:41 (GMT) |
Geometry Nodes: fix direction mode in curve primitive line node Differential Revision: https://developer.blender.org/D11872 |
July 13, 2021, 08:41 (GMT) |
Fix channel packed images display in the Image/Node editor Channel packed images should not have their RGB affected by alpha. rendering in Cycles and Eevee was fine already, but displaying these was not right in the Image and Node editors. Not 100% sure what to do for the "Color and Alpha" mode, but I guess this should stay like it was before (applying the alpha). "Color", "R", "G", and "B" modes were changed to not have color be affected by alpha though. ref. T89034 Maniphest Tasks: T89034 Differential Revision: https://developer.blender.org/D11871 |
July 13, 2021, 08:41 (GMT) |
make.bat: Update detection order of MSVC VS2019 is the preferred version to use these days, look for it before looking for 2017 and 2022. |
July 13, 2021, 08:41 (GMT) |
UI: Clip: Fix checkbox wrongly greying out entire column The Pattern and Search display options in the Clip Editor display settings are independent and should not be grayed out since those options remain relevant even with path display turned off. Alternative solution were propoesed in D11630 and D11715 but each of those patches had downsides. This solution is the simplest and does not break muscle memory. |
July 13, 2021, 08:41 (GMT) |
LineArt: Continue shadowing |
July 13, 2021, 08:41 (GMT) |
Cleanup: rename BKE_animdata_{add=>ensure}_id Use the term `ensure` as existing data is used when present. |
July 13, 2021, 08:41 (GMT) |
BLI_array: add BLI_array_deduplicate_ordered utility & tests |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021