Revision bcff0ef by Harley Acheson June 14, 2021, 17:22 (GMT) |
UI: Windows Blend File Association This patch allows Windows users to specify that their current blender installation should be used to create thumbnails and be associated with ".blend" files. This is done from Preferences / System. The only way to do this currently is from the command-line and this is sometimes inconvenient. Differential Revision: https://developer.blender.org/D10887 Reviewed by Brecht Van Lommel |
Revision 2e5671a by Sebastian Parborg June 14, 2021, 17:08 (GMT) |
Fix: VSE seeking with proxy strips would fail on certain frames If the last decoded frame had the same timestamp as the GOP current packet, then we would skip over this frame when fast forwarding and we would seek until the end of the file. This would could only be triggered reliably in single threaded mode. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11601 |
Revision aadd355 by Julian Eisel June 14, 2021, 17:00 (GMT) |
Fix possible C-linkage warning on Clang The warning would appear when using the `ENUM_OPERATORS()` macro inside of an `extern "C"` block. Didn't cause a warning in master currently, but in the `asset-browser-poselib` branch. After macro expansion, there would be C++ code in code with C linkage (`extern "C"`). So make sure the expanded C++ code always uses C++ linkage. The syntax used is totally C++ compliant: the C++ standard requires that in such nested linkage specifications, the innermost one determines the linking language (e.g. see https://timsong-cpp.github.io/cppwp/n4659/dcl.link#4). |
Revision 3de6fe0 by Harley Acheson June 14, 2021, 16:17 (GMT) |
Error Messages Creating Thumbnail Folders On the Windows platform there will be some errors printed to the console if the user's thumbnail cache folder doesn't already exist. While creating those folders there is an attempt to do so multiple times and so we get errors when trying to create when exists. This is caused by paths that have hard-coded forward slashes, which causes our path processing routines to not work correctly. This patch defines those paths using platform-varying separator characters. Differential Revision: https://developer.blender.org/D11505 Reviewed by Brecht Van Lommel |
Revision e9b4de4 by Jacques Lucke June 14, 2021, 16:13 (GMT) |
Cleanup: rename id to owner_id for python id properties This is consistent with the naming in `PointerRNA`. |
Revision 90b0fb1 by Campbell Barton June 14, 2021, 13:52 (GMT) |
PyAPI: remove deprecated bpy.app.binary_path_python |
Revision 8a1860b by Campbell Barton June 14, 2021, 13:01 (GMT) |
BMesh: support face-normal calculation in normal & looptri functions Support calculating face normals when tessellating. When this is done before updating vertex normals it gives ~20% performance improvement. Now vertex normal calculation only needs to perform a single pass on the mesh vertices when called after tessellation. Extended versions of normal & looptri update functions have been added: - BM_mesh_calc_tessellation_ex - BM_mesh_normals_update_ex Most callers don't need to be aware of this detail by using: - BKE_editmesh_looptri_and_normals_calc - BKE_editmesh_looptri_and_normals_calc_with_partial - EDBM_update also takes advantage of this, where calling EDBM_update with calc_looptri & calc_normals enabled uses the faster normal updating logic. |
Revision 6bef255 by Campbell Barton June 14, 2021, 12:56 (GMT) |
BMesh: remove unit-length edge-vector cache from normal calculation Bypass stored edge-vectors for ~16% performance gains. While this increases unit-length edge-vector calculations by around ~4x the overhead of a parallel loop over all edges makes it worthwhile. Note that caching edge-vectors per-vertex performs better and may be worth investigating further, although in my tests this increases code complexity with barley measurable benefits over not using cache at all. Details about performance and possible optimizations are noted in bm_vert_calc_normals_impl. |
Revision 8083527 by Campbell Barton June 14, 2021, 12:56 (GMT) |
Edit Mesh: use params arg for update function, add calc_normals arg Rename function EDBM_update_generic to EDBM_update, use a parameters argument for better readability. Also add calc_normals argument, which will have benefits when calculating normals and tessellation together is optimized. |
Revision 1d2eb46 by Campbell Barton June 14, 2021, 12:56 (GMT) |
Cleanup: clang-format |
June 14, 2021, 12:20 (GMT) |
Python API: option for render engines to disable image file saving For some custom rendering engines it's advantageous not to write the image files to disk. An example would be a network rendering engine which does it's own image writing. This feature is only supported when bl_use_postprocess is also disabled, since render engines can't influence the saving behavior of the sequencer or compositor. Differential Revision: https://developer.blender.org/D11512 |
Revision ada47c4 by Brecht Van Lommel June 14, 2021, 11:22 (GMT) |
Fix build error in release builds after recent changes |
Revision b21db5e by Bastien Montagne June 14, 2021, 10:32 (GMT) |
BLI_math: Fix several division-by-zero cases. Those were caused by various tools used on degenerate geometry, see T79775. Note that fixes are as low-level as possible, to ensure they cover as much as possible of unreported issues too. We still probably have many more of those hidden in BLI_math though. |
Revision 748475b by Bastien Montagne June 14, 2021, 10:32 (GMT) |
BLI_math: Cleanup: Use `mul_`/`madd_` functions. Better to avoid explicit vectors components direct manipulation when a generic operation for whole vector exists, if nothing else it avoids potential mistakes in indices. |
June 14, 2021, 10:26 (GMT) |
Fix T87867: file open dialog triggers OneDrive file downloads on macOS Until OneDrive supports macOS's native placeholder file implementation, detect the com.microsoft.OneDrive.RecallOnOpen extended file attribute. Differential Revision: https://developer.blender.org/D11466 |
Revision c9dc553 by Jacques Lucke June 14, 2021, 09:35 (GMT) |
Fix T88494: add missing depsgraph relation update tags Adding e.g. a Collection Info node creates a new depsgraph relation. Therefore the relations should be updated. |
Revision a19c9e9 by Jacques Lucke June 14, 2021, 09:07 (GMT) |
Fix T88947: invalid normals when converting point cloud to mesh |
Revision 2db09f6 by Campbell Barton June 14, 2021, 08:46 (GMT) |
Nodes: remove redundant increment node tree current socket index `ntree->cur_index` was being incremented twice in make_socket_interface. Reviewed By: JacquesLucke Ref D11590 |
Revision 03544ed by Jacques Lucke June 14, 2021, 08:04 (GMT) |
Fix T88807: crash when there are multiple links between the same sockets This commit does two things: * Disallows creating more than one link from one socket to a multi socket input. * Properly count links if there happen to be more than one link between the same sockets. The new link counting should also be more efficient asymptotically. Differential Revision: https://developer.blender.org/D11570 |
Revision 54a03d4 by Hans Goudey June 13, 2021, 23:56 (GMT) |
Cleanup: Reduce indentation from redundant check |
|