Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 371 / 5574

February 25, 2021, 16:48 (GMT)
Py API: update `bpy.data.orphans_purge` to support new options.

This API function can now purge recursively in a single call, and choose
to ignore (not purge) local or linked IDs.

Default behavior (with not argument) remains unchanged, so no API
breackage here.
February 25, 2021, 16:48 (GMT)
Improve Purge operator.

The Purge operator to remove unused IDs can now also remove 'indirectly
unused' data-blocks (those only used by unused ones, recursively).

It can also now only operate on linked, or on local data.

All those options are exposed in the `File -> Cleanup` main menu.

The behavior of the `Purge` button in the Outliner remains unchanged,
needs some UI/UX design task for that.
Revision 6daff9a by Hans Goudey
February 25, 2021, 16:28 (GMT)
UI: Fix icon width and padding in search menus

Previously the padding size and the width saved for the icon were
constant regardless of the zoom level. This resulted in overlapping
icons and text, and ugly padding with more extreme zoom levels.
We can retrieve the size of the row from the `rect` argument.
February 25, 2021, 16:17 (GMT)
BLI: simplify adding an arbitrary value to a resource container

With this is becomes easily possible to store a lambda in a resource
collector so that it will be freed when the resource collector is freed.
February 25, 2021, 15:56 (GMT)
Cleanup: quiet warning

"loop variable 'item' is always a copy because the range of type ..."
February 25, 2021, 14:27 (GMT)
Fix T85959 EEVEE: DOF with "Jitter Camera" broken

Was caused by recent changes in window_translate_m4 by rBbb2af40ec7dd.
Revision 626a8e0 by Hans Goudey
February 25, 2021, 14:20 (GMT)
Fix T85979: Attribute missing warning with empty geometry

An error doesn't make sense in these situations because we don't expect
to find attributes on empty geometry, and an empty geometry set is a
valid situation.

Note that we can't use `component.is_empty` here, because often the
component is visually "empty" but still has a point cloud with no
points or a mesh with no vertices.
February 25, 2021, 14:09 (GMT)
Fix macOS SSE support not detected correctly after recent changes

Due to moving the code the test binary was incorrectly compiled with OpenMP
flags. Move setting of the OpenMP flags to the appropriate place.
February 25, 2021, 13:17 (GMT)
Fix T85976: Outliner crash deleting collection with multiple windows
February 25, 2021, 12:16 (GMT)
PyAPI Docs: Add 'gpu.state' module

Also exclude `gpu.shader` from quick tests.
February 25, 2021, 10:56 (GMT)
install_deps: bump USD version to 21.02.

Should have been part of D10367/rBa923a34de19c, but for some reasons it
did not make it into final commit...

Re T85365.
February 25, 2021, 10:50 (GMT)
install_deps: bump python version to 3.9.2.

Also bump exlusive maximal version to 3.11, since 3.10 is now supported.

Re T85365.
February 25, 2021, 10:39 (GMT)
Refactor: IDTypeInfo: Add `owner_get` to get owner of embedded IDs.

This concerns currently only collections (`master_collection` of scenes)
and root node trees. It removes the matching type-specific helpers
(`BKE_collection_master_scene_search` and `BKE_node_tree_find_owner_ID`).

No functional change expected here.

NOTE: Current implementation of `owner_get` is far from optimal, we
could probably do it better, see {T69169}.

NOTE: While it could also have it, shapekeys IDTypeInfo was left out of
this change for now. Mainly because it sould not be used currently, and
we ultimately want to demote shape keys from ID status anyway.
February 25, 2021, 09:17 (GMT)
Merge remote-tracking branch 'origin/blender-v2.92-release'
February 25, 2021, 05:34 (GMT)
Cleanup: spelling
February 25, 2021, 05:33 (GMT)
Cleanup: remove assert left in by accident, outdated comment
February 25, 2021, 05:13 (GMT)
Fix T85974: Edit-mode undo/redo causes assertion

Assert the poll function succeeds after setting the active object.
February 25, 2021, 05:13 (GMT)
Fix T85975: Edit-mode undo/redo removes overlays

Setting the active object when decoding undo steps missed
a call to ED_object_base_active_refresh.
February 25, 2021, 05:13 (GMT)
Fix entering edit-mode when object mode and edit-data don't match

In rare cases, it's possible for an object to have edit-mode data
without it's Object.mode set to edit-mode.

This could happen with undo, part of fix for: T85974.
February 25, 2021, 01:20 (GMT)
Cleanup: use low level edit-object access functions for undo

Use OBEDIT_FROM_VIEW_LAYER macro for curve & fonts (matching edit-mesh).

While the difference isn't significant at the moment,
there are no reason these should be different between undo systems.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021