Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

57 minutes ago
Fix: Compile issue Windows.
2 hours 20 min ago
Cryptomatte: Manifest Parsing.

This patch adds manifest parsing to Cryptomatte. Normally when loading
cryptomatte layer from an OpenEXR file the manifest contains data to
convert a hash to its original name of the object/material. In the
future we want to use this to support lookup of cryptomatte
hashes and show it to the user.

Currently this logic isn't available to users (for now), but is required
by D3959 where a new cryptomatte workflow is implemented.
3 hours 8 min ago
GPencil: Cancel Fill if the filled area is not closed

Fill only if it never comes in contact with an edge. It is better not to fill than to fill the entire area, as this is confusing for the artist.

Differential Revision:
3 hours 49 min ago
Assets: Preview rendering for Action datablocks

Render previews for Action datablocks by rendering the scene camera with
the Workbench (solid) engine. The //look// can be configured by setting
the scene's render engine to Workbench and editing the scene's shading

It is assumed that the pose has already been applied and that the scene
camera is capturing the pose. In other words, the render function just
renders from the scene camera without evaluating/applying the Action
stored in `preview->id`. The ID is only used to determine its type and
to store the resulting preview.

Not all code paths that lead to the `action_preview_render()` function
actually provide a depsgraph. The "Refresh Asset Preview" button
(`ED_OT_lib_id_generate_preview`) does, but `WM_OT_previews_ensure` does

Reviewed By: Severin

Differential Revision:
4 hours 7 min ago
CMake/Deps: Python 3.9.2

Straight up minor version bump, no anomalies to report

Reviewed By: sebbas, sybren

Differential Revision:
4 hours 34 min ago
UX: Readfile: Libraries error messages: avoid wall of warnings.

When a lot of libraries or linked IDs were missing/not found when
loading a .blend file, Blender used to show one warning report for each
missing item, potentially covering the user's screen with a giant
unuable popup.

Now it will instead generate a single warning with amount of missing lib
files and linked IDs. Each missing item is still reported individually,
but only as `INFO`, so it will still show up in the console or Info editor.
9 hours 34 min ago
Cleanup: use early exit
9 hours 37 min ago
Cleanup: use boolean arguments
10 hours 0 min ago
Fix particle-edit crash on undo/redo

Undo/redo was crashing & asserting.

There ware two bugs:

- Entering particle system edit-mode requires an evaluated depsgraph.

- The active object could get out of sync when undo/redo
moves between different modes.

The new test 'view3d_mesh_particle_edit_mode_simple'
in `tests/ui_simulate/` exposes both issues.
10 hours 2 min ago
Cleanup: move comment into function doc-string
10 hours 2 min ago
Undo: don't log an error when the undo limit has been exceeded
10 hours 2 min ago
Undo: use low level API calls to enable font edit-mode

While I couldn't redo a bug in this case, it's possible for the
active object to become out of sync in rare cases,
so best use these functions.
14 hours 1 min ago
Cleanup: Clang Format
Revision 81e795e by Hans Goudey
14 hours 10 min ago
Fix T84953: Incorrect tooltip for dragging collections

"Shift to parent" does not make any sense for collections since they
don't have parenting like objects. This commit just adds a simple check
for whether the first drag ID is an object before displaying
that part of the message.

Differential Revision:
16 hours 5 min ago
Cleanup: commented/out of date rpdb2 import
16 hours 41 min ago
PyAPI Docs: Update Sphinx to 3.5.1
Revision 1981f04 by Julian Eisel
22 hours 24 min ago
Icons: Resaved blender_icons.svg in new Inkscape version

Inkscape often does a number of unrelated changes when saving an SVG, not sure
if these are just formatting changes in the source SVG text or if there's more
to it. Either way this makes adding new icons hard since you want to avoid
these unrelated changes. Saving the file in a new Inkscape version every once
in a while should mitigate the problem a bit.
Regenerating the icons (e.g. through `make icons`) shows no difference in the

Note that I also ran "Clean Up Document" in Inkscape, but that doesn't seem to
have changed anything/much.
Revision 16504ed by Julian Eisel
22 hours 24 min ago
Icons: Update blender_icons.svg to have a document background

When opening the SVG you wouldn't even see the icons, since they are all white
now. You'd always have to set up a document background color and make sure to
undo that again before saving the file, so it's not written into it.
Just make everyone's life easier by saving the file with a proper background
(gray with checkerboard).
Revision 57c41a9 by Julian Eisel
22 hours 24 min ago
Icons: Add icon for the upcoming spreadsheet editor

The editor is being worked on by the geometry nodes team.
Icon created by Andrzej Ambroz (jendrzych).

22 hours 44 min ago
BKE_lib_query: Add a function to detect and tag all unused IDs.

With the option to detect orphaned data recursively (i.e. if ID `a` is the
only user of ID `b`, and ID `a` is unused, ID `b` will also get tagged
as unused).

To be used by the Purge operation.
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021