Blender Git Commit Log

All Blender Git commits.

Page: 170 / 8462

October 12, 2021, 09:55 (GMT)
Fix missing Cycles volume stack re-allocation

Need to check allocation size, as the features do not change with
volume stack depth detection.
October 12, 2021, 09:28 (GMT)
Asset Catalogs: recursive deletion of catalogs & children

Recursively delete asset catalogs with `AssetCatalogService:prune_...`
functions. This deletes the catalog and all of its children.

The old `delete_catalog` function has been renamed to
`delete_catalog_by_id()`, and is now a lower-level function (no deletion
of children, no rebuilding of the tree). The `prune_catalogs_by_path()`
and `prune_catalogs_by_id()` do delete children and do rebuild the
catalog tree.

Manifest task: T91634
October 12, 2021, 09:25 (GMT)
Tests: simplify asset catalog tree testing code

Simplify the testing code that verifies the asset catalog tree. It now
prints clearer error messages when things go wrong, and it gets simpler
data to test (instead of having to explicitly pass the parent count, it
just counts the number of separators in the expected path).

No functional changes to Blender.
October 12, 2021, 08:05 (GMT)
Sculpt: fix missing NULL check
October 12, 2021, 07:50 (GMT)
WindowManager: Keep track or the source library when appending.

Keep track of the source library allowing other parts of the code to
to make better decisions. This is needed to localize external files.

In this case the file paths are updated when `making local`.
But we should decide based on the source library if we want to
copy the file relative to the new blend file. See D12423.

Reviewed By: mont29, Severin

Differential Revision: https://developer.blender.org/D12765
October 12, 2021, 07:46 (GMT)
Fix incorrect commet in appdir.c about cache locations.
Revision e8dc02a by Peter Kim (master)
October 12, 2021, 07:36 (GMT)
Fix build error due to conflicting types
October 12, 2021, 07:34 (GMT)
Sculpt: fix collapse for non-manifold edges

* BM_edge_collapse now has an option to use
a new collapse implementation that can
handle non-manifold geometry properly.
* The aforementioned implementation is a replacement
for bmesh_kernel_join_vert_kill_edge. Note that
the old code still exists as
bmesh_kernel_join_vert_kill_edge_fast and is used
by default.
Revision 9dda654 by Peter Kim (master)
October 12, 2021, 07:18 (GMT)
XR Controller Support Step 4: Controller Drawing

Addresses T77127 (Controller Drawing).

Adds VR controller visualization and custom drawing via draw
handlers. Add-ons can draw to the XR surface (headset display) and
mirror window by adding a View3D draw handler of region type 'XR' and
draw type 'POST_VIEW'. Controller drawing and custom overlays can be
toggled individually as XR session options, which will be added in a
future update to the VR Scene Inspection add-on.

For the actual drawing, the OpenXR XR_MSFT_controller_model extension
is used to load a glTF model provided by the XR runtime. The model's
vertex data is then used to create a GPUBatch in the XR session
state. Finally, this batch is drawn via the XR surface draw handler
mentioned above.

For runtimes that do not support the controller model extension, a
a simple fallback shape (sphere) is drawn instead.

Reviewed By: Severin, fclem

Differential Revision: https://developer.blender.org/D10948
Revision cfa59b3 by Peter Kim (master)
October 12, 2021, 07:13 (GMT)
Cleanup: remove unused parameter
October 12, 2021, 06:58 (GMT)
Tests: script_pyapi_idprop now cleans up after it's self

This test left blend files in the users temporary directory.
October 12, 2021, 06:58 (GMT)
Tests: remove noisy output from bl_pyapi_idprop_datablock

As part of expected behavior this printed an exception,
making it seem as if there was an error in the test.

Now the exception is suppressed from the output, ensuring it matches
an the expected output.
October 12, 2021, 06:57 (GMT)
Tests: support running ID-property test without numpy
October 12, 2021, 06:57 (GMT)
Tests: quiet warning for UIList class name
October 12, 2021, 06:55 (GMT)
Cleanup: spelling in comments
October 12, 2021, 06:55 (GMT)
Fix leak on exit when WITH_PYTHON_SAFETY is enabled

The lead only occurred when Python references were leaking as well.
October 12, 2021, 06:52 (GMT)
Cleanup: quiet undefined warning
October 12, 2021, 06:42 (GMT)
GHOST: Add option to request (user) cache folder.

Introduces `BKE_appdir_folder_caches` to get the folder that
can be used to store caches. On different OS's different folders
are used.

- Linux: `~/.cache/blender/`.
- MacOS: `Library/Caches/Blender/`.
- Windows: `(%USERPROFILE%AppDataLocal)Blender FoundationBlenderCache`.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D12822
October 12, 2021, 06:41 (GMT)
Silence compilation warning in wm_xr_session.
Revision cdeb506 by Peter Kim (master)
October 12, 2021, 04:48 (GMT)
XR Controller Support Step 3: XR Events

Integrates XR input actions with the WM event system. With this commit,
all VR action functionality (operator execution, pose querying, haptic
application), with the exception of custom drawing, is enabled.

By itself, this does not bring about any changes for regular users,
however it is necessary for the upcoming VR add-on update that will
expose default controller actions to users.

For add-on developers, this updates the Python API with access to XR
event data (input states, controller poses, etc.), which can be
obtained via the "xr" property added to the bpy.types.Event struct.
For XR events, this property will be non-null and the event will have
the type XR_ACTION.

Further details:
XR-type window events are queued to the regular window queues after
updating and interpreting VR action states. An appropriate window is
found by either using the window the VR session was started in or a
fallback option.

When handling XR events, mouse-specific processing is skipped and
instead a dedicated XR offscreen area and region (see 08511b1c3de0) is
used to execute XR event operators in the proper context.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D10944
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021