Revision e0f2f07 by Jeroen Bakker June 18, 2021, 14:10 (GMT) |
DrawManager: Multithreaded counting of material buckets. When having multiple materials in a mesh the triangles are sorted based on material index. This sorting is done single threaded, but needs two loops over the data. One to count the bucket size and the second one to add the triangles to the right position in the buckets. This patch will do the counting in a multithreaded approach that would speed up the cache creation. It has been measured that this part is the most blocking part of the cache creation. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D11615 |
Revision 6d73d98 by Jeroen Bakker June 18, 2021, 14:06 (GMT) |
BMesh: use threading to count total selection. During selections the total selection is refreshed at the end. This process was done single threaded. This patch will do a parallel iter approach. Master: 0.043612s Threaded 0.017964s. Master: {F10179586} This patch: {F10179587} Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D11622 |
Revision 03a83b4 by Bastien Montagne June 18, 2021, 13:49 (GMT) |
Fix T89262: Crash in regular FileBrowser ID listing of 'asset' .blend files. `ED_fileselect_get_asset_params` would only return actual data pointer when file browser is in ASSET mode. Calling that whole section only makes sense if filebrowser is in asset mode anyway. Regression introduced in rBf6c5af3d4753 I think. @Severin committing this fix now as this is a fairly critical bug for the studio, feel free to revert and do proper fix if this one is not the best solution. |
Revision ea43099 by Jeroen Bakker June 18, 2021, 13:44 (GMT) |
Performance: Limit recounting during selection mode flushing. This patch ensures that selection mode flushing updates total selection counts internally. This reduces recounting when we are sure that the input total selection counts were up to date. For example for circle selection the total selection counts were correct. But during flushing the selection could have been changed and therefore the selection was always recounted. This increased the performance on selected system from 6.90 FPS to 8.25 FPS during circle selection operations. Before: {F10179981} After: {F10179982} Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D11647 |
Revision a9d5c8f by Campbell Barton June 18, 2021, 13:40 (GMT) |
Revision 847b66e by Sybren A. Stüvel June 18, 2021, 11:57 (GMT) |
Fix T88394: crash when editing animated Alembic properties When an object, whose mesh gets loaded from Alembic, gets animated in Blender and the Alembic CacheFile datablock also gets animated, editing keyframes causes both datablock to be re-copied for evaluation. This caused a threading issue and a double-free of some memory. This is fixed by expanding the scope of the spin lock in `BKE_cachefile_reader_free()`. |
Revision b8cf8e0 by Germano Cavalcante June 18, 2021, 11:25 (GMT) |
Fix T89240: Crash when moving vertices on a linked duplicate There is an attempt to free an illegal pointer in `extract_edge_fac_finish`. |
Revision 80bc819 by Sebastián Barschkis June 18, 2021, 10:28 (GMT) |
Fluid: Clang-format cleanup Updated fluid source files in extern with clang-format. |
Revision adefdbc by Sebastián Barschkis June 18, 2021, 10:18 (GMT) |
Fluid: Optimization for FLIP neighbor search radius Contributed by @erik85 in D11400. The idea from this patch was placed in a more generic context: A new FOR macro has been added that loops over the neighbors of a cell within a given radius. |
Revision 7c68147 by Sybren A. Stüvel June 18, 2021, 09:21 (GMT) |
Fix T88605: Alembic import crashes when missing `arbGeomParams` Add check for the `arbGeomParams` property being valid, before attempting to access a sub-property from it. |
Revision 060d668 by Jacques Lucke June 18, 2021, 08:50 (GMT) |
Cleanup: clang format |
Revision 6c1fdd5 by Campbell Barton June 18, 2021, 08:00 (GMT) |
Fix invalid polygon normal array access building bake data Pre computed normals index wasn't properly aligned. Regression from 2ec00ea0c1be1ace7cd0c7b68e43cc8e87dd07c7. |
Revision 3caafd2 by Campbell Barton June 18, 2021, 06:37 (GMT) |
Cleanup: use 'bmesh' prefix for BMesh tessellation utilities |
Revision c4958bc by Campbell Barton June 18, 2021, 05:13 (GMT) |
Cleanup: rename test_index_face -> BKE_mesh_mface_index_validate |
Revision 2e8d7fa by Campbell Barton June 18, 2021, 05:08 (GMT) |
Cleanup: remove unused MFace custom-data utilities Remove: - BKE_mesh_loops_to_mface_corners - BKE_mesh_tangent_loops_to_tessdata |
Revision 253c5d2 by Campbell Barton June 18, 2021, 05:03 (GMT) |
Cleanup: move mesh tessellation into it's own file This matches BMesh which also has tessellation in it's own file. Using a separate file helps with organization when extracting code into smaller functions. |
Revision af41674 by Campbell Barton June 18, 2021, 04:41 (GMT) |
Cleanup: clang-tidy |
Revision c290ac2 by Campbell Barton June 18, 2021, 04:41 (GMT) |
CMake: remove workaround for version that's no longer supported |
Revision 50a4b9d by Campbell Barton June 18, 2021, 04:27 (GMT) |
Cleanup: replace 'unsigned in' with 'uint' |
Revision 5f0d4fe by Campbell Barton June 18, 2021, 04:27 (GMT) |
Cleanup: use standard identifier for uint64_t string formatting |
|