Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 614 / 5574

August 20, 2020, 10:35 (GMT)
LibOverride: Add 'delete and use linked data' operation.

This will re-link all usages of a library override data-block
(including all of its override dependencies) to its reference linked
IDs, and delete those liboverrides.

As usual, it is available in the ID sub-menu of the outliner context
right-click menu.

Part of T76555.
August 20, 2020, 09:54 (GMT)
Merge branch 'blender-v2.90-release' into master

Conflicts:
source/blender/makesrna/intern/rna_scene.c
August 20, 2020, 09:52 (GMT)
Fix T79935: Inonsistent simplify behavior when linking collection with objects in sub-collection.

RNA update function would only update objects from 'main' instantiated
collection, not those from sub-collections.

This should be comitted to 2.90 (and backported to 2.83 too).

Maniphest Tasks: T79935

Differential Revision: https://developer.blender.org/D8654
August 20, 2020, 08:39 (GMT)
Fix T79935: Inonsistent simplify behavior when linking collection with objects in sub-collection.

RNA update function would only update objects from 'main' instantiated
collection, not those from sub-collections.

This should be comitted to 2.90 (and backported to 2.83 too).

Maniphest Tasks: T79935

Differential Revision: https://developer.blender.org/D8654
August 20, 2020, 06:10 (GMT)
Cleanup: use const variables where possible in the Python API
August 20, 2020, 06:09 (GMT)
Cleanup: clang-format
August 20, 2020, 01:47 (GMT)
Docs: Update BPY to manual mappings
August 20, 2020, 01:35 (GMT)
Cleanup: Outliner active indicator repeated code

Refactor the code to draw the roundrect behind outliner icons for active
elements into a single function.

No functional changes.
Revision 940b239 by Hans Goudey
August 19, 2020, 22:55 (GMT)
Cleanup: Remove unused variables for horizontal panels

Continuing the work of eb9055a572c3, remove remaining unecessary
variables and arguments that were related tabbing and horizontal
alignment of panels. For example, "vertical" was always true, and
removing that exposed other unused variables.
Revision 50b435c by Hans Goudey
August 19, 2020, 22:05 (GMT)
Cleanup: Remove unused variable
August 19, 2020, 16:45 (GMT)
BLI: fix memory leak in delaunay 2d

Differential Revision: https://developer.blender.org/D8633
August 19, 2020, 16:18 (GMT)
Tests: use guarded allocator in tests

This helps finding memory leaks in tests.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8631
Revision eb9055a by Hans Goudey
August 19, 2020, 15:37 (GMT)
UI: Remove panel X axis closing code

Horizontal panel alignment hasn't been used for years, and we have no
plans to use it in the future. It adds a fair amount of complexity to
the panel code which makes adding features take longer.

This code removes the X closing flag, and all of the logic / variables
unused without it.

This commit includes a file subversion bump.

Differential Revision: https://developer.blender.org/D8601
August 19, 2020, 15:27 (GMT)
BLI: improve leak detection in tests

This actually found a bug in my previous commit.
August 19, 2020, 15:13 (GMT)
GPUState: Fix signed / bitfield conversion leading to wrong enum value

This was creating drawing issues on windows builds.
August 19, 2020, 14:56 (GMT)
Fix warning from narrowing conversion
August 19, 2020, 14:44 (GMT)
BLI: improve exception safety of Vector, Array and Stack

Using C++ exceptions in Blender is difficult, due to the large
number of C functions in the call stack. However, C++ data
structures in blenlib should at least try to be exception safe,
so that they can be used if someone wants to use exceptions
in some isolated area.

This patch improves the exception safety of the Vector, Array
and Stack data structure. This is mainly achieved by reordering
some lines and doing some explicit exception handling.
I don't expect performance of common operations to be affected
by this change.

The three containers are supposed to provide at least the
basic exception guarantee for most methods (except for e.g.
`*_unchecked` methods). So, resources should not leak when
the contained type throws an exception.

I also added new unit tests that test the exception handling
in various cases.
August 19, 2020, 14:27 (GMT)
LibOverride: Add initial version of 'resync' operation.

Available from the usual ID submenu in the Outliner context menu.

The goal of this operator is to re-create the override from the linked
data, while preserving existing defined overrides.

This allows to update local opverrides when relations between datablocks
are changed in source library linked data.

Part of T76555.
August 19, 2020, 13:47 (GMT)
Cycles : add a Volume Geometry Node

This splits the volume related data (properties for rendering and attributes) of the Mesh node
into a new `Volume` node type.

This `Volume` node derives from the `Mesh` class since we generate a mesh for the bounds of the
volume, as such we can safely work on `Volumes` as if they were `Meshes`, e.g. for BVH creation.
However such code should still check for the geometry type of the object to be `MESH` or `VOLUME`
which may be bug prone if this is forgotten.

This is part of T79131.

Reviewed By: brecht

Maniphest Tasks: T79131

Differential Revision: https://developer.blender.org/D8538
August 19, 2020, 13:30 (GMT)
GPencil: Change default Onion Keyframe mode to ALL

Now by default the selection mode is All keyframes types.

Also removed the icon for All option and renamed from `All Types`to `All`.

UI review by @pablovazquez
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021