Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 235 / 5574

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
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
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.
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
June 18, 2021, 13:40 (GMT)
Fix error passing in false as instead of a struct

Error in 8a1860bd9aecddf611b64e3e842bdc8c76f15cc6.
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()`.
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`.
June 18, 2021, 10:28 (GMT)
Fluid: Clang-format cleanup

Updated fluid source files in extern with clang-format.
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.
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.
June 18, 2021, 08:50 (GMT)
Cleanup: clang format
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.
June 18, 2021, 06:37 (GMT)
Cleanup: use 'bmesh' prefix for BMesh tessellation utilities
June 18, 2021, 05:13 (GMT)
Cleanup: rename test_index_face -> BKE_mesh_mface_index_validate
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
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.
June 18, 2021, 04:41 (GMT)
Cleanup: clang-tidy
June 18, 2021, 04:41 (GMT)
CMake: remove workaround for version that's no longer supported
June 18, 2021, 04:27 (GMT)
Cleanup: replace 'unsigned in' with 'uint'
June 18, 2021, 04:27 (GMT)
Cleanup: use standard identifier for uint64_t string formatting
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021