Blender Git Commits

Blender Git "master" branch commits.

16 minutes ago
Cleanup: Use find_first_not_of.
1 hour 12 min ago
Fix: Compile issue Windows.
2 hours 35 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 23 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: https://developer.blender.org/D10536
4 hours 4 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
properties.

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
not.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D10543
4 hours 23 min ago
CMake/Deps: Python 3.9.2

Straight up minor version bump, no anomalies to report

Reviewed By: sebbas, sybren

Differential Revision: https://developer.blender.org/D10523
4 hours 49 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 49 min ago
Cleanup: use early exit
9 hours 53 min ago
Cleanup: use boolean arguments
10 hours 16 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/test_undo.py` exposes both issues.
10 hours 17 min ago
Cleanup: move comment into function doc-string
10 hours 17 min ago
Undo: don't log an error when the undo limit has been exceeded
10 hours 17 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 17 min ago
Cleanup: Clang Format
Revision 81e795e by Hans Goudey
14 hours 25 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: https://developer.blender.org/D10203
16 hours 21 min ago
Cleanup: commented/out of date rpdb2 import
16 hours 57 min ago
PyAPI Docs: Update Sphinx to 3.5.1
Revision 1981f04 by Julian Eisel
22 hours 39 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
output.

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 39 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 39 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).

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