Blender Git Loki

Blender Git commits from all branches.

Page: 150 / 2888

August 16, 2021, 04:19 (GMT)
Cleanup: rename BKE_collection_{free => free_data}

This function doesn't free the collection, only it's memory.
August 16, 2021, 04:19 (GMT)
Fix T88033: Python reference memory leaks for non main data-blocks

ID data-blocks that could be accessed from Python and weren't freed
using BKE_id_free_ex did not release the Python reference count.

Add BKE_libblock_free_data_py function to clear the Python reference
in this case.

Add asserts to ensure no Python reference is held in situations
when ID's are copied for internal use (not exposed through the RNA API),
to ensure these kinds of leaks don't go by unnoticed again.
August 16, 2021, 04:19 (GMT)
PyAPI: report unreleased ID's with WITH_PYTHON_SAFETY enabled

This would have made T88033 more straightforward to track down.
August 16, 2021, 04:19 (GMT)
Cleanup: Minor comment update on `LIB_TAG_NEW`.
August 16, 2021, 04:19 (GMT)
Cleanup: Keylist Drawing - Split up in multiple functions.
August 16, 2021, 04:19 (GMT)
Enable Asset Browser by default for poses, rest stays experimental

Idea for 3.0 is to disable all functionality that isn't well polished
and focus on those parts first. Starting with poses.

* Adds a new experimental option "Extended Asset Browser", replacing
"Asset Browser".
* Unlike the previous option, this isn't enabled by default anymore.
This didn't work well in practice and caused plenty of confusion.
* "Mark as Asset" and "Clear Asset" are hidden if the option is
disabled.
* Same for the category selection in the Asset Browser.
* Always show display the "Only Assets" option in the File Browser while
browing inside .blend files. That way you can hide data-blocks that
are not pose assets.
* The Asset Library setup UI in the Preferences is always visible now,
it's needed for pose library access.

Addresses T90181, T90180 and T90300.

Differential Revision: https://developer.blender.org/D12120
August 16, 2021, 04:19 (GMT)
Fix T90519: USD Exporter Error

Fixes: `Error: metersPerUnit does not match retrieved type float`
August 16, 2021, 04:19 (GMT)
Cleanup: ID management: remove unused old `BKE_libblock_copy_for_localize` function.
August 16, 2021, 04:19 (GMT)
Cleanup: use socket identifier instead of names in Cycles shader export

Will be required when we support setting different names and identifiers
for OSL.

Ref D12074
August 16, 2021, 04:19 (GMT)
Cycles: OSL metadata support for UI labels and checkboxes

To improve the presentation of nodes in the node editor. Recognize the
following metadata from the OSL specification:

* [[ string label = "UI Label" ]]
* [[ string widget = "checkBox" ]]
* [[ string widget = "boolean" ]]

Ref T89741

Differential Revision: https://developer.blender.org/D12074
August 16, 2021, 04:19 (GMT)
PyAPI: GPU: Expose builtin shaders

Expose `3D_POLYLINE_SMOOTH_COLOR` and
`3D_POLYLINE_FLAT_COLOR` builtins.

Requested by addon developers.
August 16, 2021, 04:19 (GMT)
Cleanup: moved keyframe drawing to a draw list.

In preparation to do threaded drawing preparation. There should not be any
functional changes.
August 16, 2021, 04:19 (GMT)
Fix invalid string comparison in cd692c6954629e977250ec7c12509ffd3f9
August 16, 2021, 04:19 (GMT)
Cleanup: unused function warning
August 16, 2021, 04:19 (GMT)
Cleanup: mixing enum/non-enum type warning in conditional expression
August 16, 2021, 04:19 (GMT)
Fix T90493: Undo a knife-project operation crashes

The crash occurred calling because mesh_get_eval_final in edit-mode
freed all derived mesh data without tagging the object for updating.

However meshes in edit-mode weren't meant to be used as knife-project
source-data, adding support for multi object edit-mode caused this.
August 16, 2021, 04:19 (GMT)
Fix T90418: macOS codesign fails with dylib next to executable

Change the dylib folder relative to `Blender` executable to be
the same as before rB652fbc200500497a67bd11d18b786587ba34e3d9 and same
as bpy.so : `@loader_path/../Resources/${BLENDER_VERSION}/lib`
August 16, 2021, 04:19 (GMT)
Edit Mesh: multi-object edit-mode support for knife project
August 16, 2021, 04:19 (GMT)
Silensed compilation warning in gpu test case.
August 16, 2021, 04:19 (GMT)
Fix T90551: Dopesheet displays keyframes differently.

Regression introduced by {rB73b047bcd431}. Missing a check when
converting the file to use LISTBASE_FOREACH.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021