Revision f49d438 by Sebastian Parborg August 25, 2021, 15:30 (GMT) |
Cleanup and remove SEQ_ALL_BEGIN macro We now use a for_each function with callback to iterate through all sequences in the scene. This has the benefit that we now only loop over the sequences in the scene once. Before we would loop over them twice and allocate memory to store temporary data. The allocation of temporary data lead to unintentional memory leaks if the code used returns to exit out of the iteration loop. The new for_each callback method doesn't allocate any temporary data and only iterates though all sequences once. Reviewed By: Richard Antalik, Bastien Montagne Differential Revision: https://developer.blender.org/D12278 |
Revision 796035a by Jacques Lucke August 25, 2021, 14:00 (GMT) |
Cleanup: else-after-return |
Revision 0fd1e6a by Jeroen Bakker August 25, 2021, 13:59 (GMT) |
T90908: Reduce loading times when extracting thumbnails from Blendfiles. Previously when loading an thumbnails for an asset the whole file was read. Reason this was done was perhaps a future idea to load all thumbnails inside a blendfile in a single go. This was never implemented and currently unneeded disk and cpu cycles was spend with finding out what preview to load. This patch adds an early break when the thumbnail that the caller is interested in has been found. This improves the thumbnail extraction when looking into large files. Reviewed By: mont29 Maniphest Tasks: T90908 Differential Revision: https://developer.blender.org/D12312 |
August 25, 2021, 12:36 (GMT) |
XR: Enable controller profile extensions Enables all currently documented OpenXR controller profile extensions (Reverb G2, Vive Cosmos, Huawei Controller) in order to support bindings for more VR hardware. This is necessary because, if these extensions are not enabled, the OpenXR runtime will return an error when creating a binding with one of these profiles. Does not bring about any changes for users at the moment, since default controller actions have not yet been exposed to users (will be addressed with D10944, D10948, and D11271). |
August 25, 2021, 11:59 (GMT) |
XR: Improve "Invalid stage ref space" warning Originally mentioned that absolute tracking was disabled, which is wrong because absolute tracking (skipping application of eye offsets) is always available, although it may not give the expected result of persistent tracking origins across sessions if the stage space is unavailable (hence the need for a warning). Now, the warning makes no mention of absolute tracking, instead informing the user that the local space fallback will be used and that they should define tracking bounds via the XR runtime if they wish to use the stage space. |
August 25, 2021, 11:59 (GMT) |
Fix: Crash on file read with active VR session Add null check for runtime data since it could already have been freed via wm_xr_exit() (called on file read) prior to the session exit callback. Also, fix potential memory leak by freeing session data in wm_xr_runtime_data_free() instead of session exit callback. |
August 25, 2021, 11:57 (GMT) |
Fix: XR action map memory leaks This fixes two memory leaks related to XR action maps. 1. Freeing of action maps needs to be moved from wm_xr_exit() to wm_xr_runtime_data_free() since the runtime may have already been freed when calling wm_xr_exit(). 2. Action bindings for action map items were not being freed. This was mistakenly left out of e844e9e8f3bb since the patch needed to be updated after d3d4be1db3a0. |
August 25, 2021, 11:56 (GMT) |
Fix: Incorrect declaration of XrActionMaps RNA This fixes a mistake in the XrActionMaps RNA struct declaration. Originally, the XrActionMaps struct SDNA was set as wmXrData to get access to wmXrRuntimeData. However, this doesn't give a valid pointer and the XrSessionState RNA pointer needs to be passed instead. Since XrSessionState itself does not have SDNA, it is necessary to pass the XrSessionState pointer to the XrActionMaps struct functions (new(), new_from_actionmap(), ...) instead of simply using RNA_def_struct_sdna(). |
Revision 452cc01 by Campbell Barton August 25, 2021, 08:10 (GMT) |
Cleanup: skip saving selection properties set in the keymap Having settings such as "extend" saved between executions causes keymaps that don't include this setting to remember the value between execution. No longer store this setting for selection operations & remove redundant values from the key-maps, see: T90275. |
Revision e91fd3b by Jeroen Bakker August 25, 2021, 08:00 (GMT) |
Cleanup: separate IMB_thumb_load_blend in multiple functions. |
Revision 8d634c1 by Jeroen Bakker August 25, 2021, 08:00 (GMT) |
Cleanup: Mentioning incorrect source file in comment. Code mentions that ID_* were defined in DNA_ID.h but are actually defined in DNA_ID_enums.h. |
Revision a2597f8 by Campbell Barton August 25, 2021, 07:40 (GMT) |
Keymap: repeat was disabled for Ctrl-Backspace in the text editor |
Revision b98b935 by Jeroen Bakker August 25, 2021, 07:37 (GMT) |
Cleanup: Fixed compile error in debug code. |
Revision 9df063d by Campbell Barton August 25, 2021, 07:18 (GMT) |
Fix assert caused by 38630711a02e553f209ace9a8627a7a851820a2d |
Revision 820d50d by Campbell Barton August 25, 2021, 05:36 (GMT) |
Correct error in 38630711a02e553f209ace9a8627a7a851820a2d |
Revision 3863071 by Campbell Barton August 25, 2021, 05:28 (GMT) |
BLI_string_utf8: remove unnecessary utf8 decoding functions Remove BLI_str_utf8_as_unicode_and_size and BLI_str_utf8_as_unicode_and_size_safe. Use BLI_str_utf8_as_unicode_step instead since it takes a buffer bounds argument to prevent buffer over-reading. |
Revision be906f4 by Campbell Barton August 25, 2021, 05:27 (GMT) |
BLI_string_utf8: simplify utf8 stepping logic There were multiple utf8 functions which treated errors slightly differently. Split BLI_str_utf8_as_unicode_step into two functions. - BLI_str_utf8_as_unicode_step_or_error returns error value when decoding fails and doesn't step. - BLI_str_utf8_as_unicode_step always steps forward at least one returning the byte value without decoding (needed to display some latin1 file-paths). Font drawing uses BLI_str_utf8_as_unicode_step and no longer check for error values. |
Revision 70f890b by Richard Antalik August 25, 2021, 04:58 (GMT) |
VSE: Set default sound and video export format Use video format for export instead of image sequence. Settings are same as defined in h264_in_MP4 preset. Sound default is AAC with 256kbit bitrate. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7916 |
Revision f80c39b by Hans Goudey August 25, 2021, 04:40 (GMT) |
Cleanup: Use shorter enum item names |
August 25, 2021, 03:05 (GMT) |
LineArt: Fix (Unreported) Crash when loading objects. Fix mesh freeing call for obi->original_me so the address is correct. |
|