Blender Git Commits

Blender Git "master" branch commits.

Page: 89 / 5574

October 25, 2021, 14:39 (GMT)
Fix T87627: Asset Browser Search Bar not working

The asset browser search bar was filtering on the filename containing the
asset, and not the asset name. This is now fixed.
October 25, 2021, 14:29 (GMT)
UI: Use flat colors for NLA strip drawing

The NLA editor is in need of a design overhaul, hopefully for 3.1 or 3.2.

This should be a project on itself, however, the worst offender currently is the use of
gradients on strips. Something that can be fixed easily.

{F11390293, size=full, loop, autoplay}

A simple replace of `UI_draw_roundbox_shade_x` for `UI_draw_roundbox_4fv` brings strips
in line with how other areas are drawn.

This patch also:
* Remove embossed lines around active action channel.
* Highlight the strip while being moved.

This patch does not include any theme changes. This will be tackled separately.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D12968
October 25, 2021, 14:26 (GMT)
Fix T92466: Crash snapping to text objects with XRay shading

Should have been addressed along with {rB6cff1d648030}
Revision bc2f4dd by Hans Goudey
October 25, 2021, 14:10 (GMT)
Geometry Nodes: Add "Fill Caps" option to curve to mesh node

This adds an option to fill the ends of the generated mesh for
each spline combination with an N-gon. The resulting mesh is
manifold, so it can be used for operations like Boolean.

Differential Revision: https://developer.blender.org/D12982
October 25, 2021, 13:25 (GMT)
Fix T92361: Zooming nodes clips text labels

While c7d94a7827a5be9343eea22a9638bb059f185206 exposed this bug,
this was caused by text widths being calculated without taking the zoom
level into account since drawing at a smaller size is often wider than
the width of the larger text scaled by the zoom.
October 25, 2021, 13:14 (GMT)
Geometry Nodes: Keep Add menu sorted alphabetically
October 25, 2021, 13:12 (GMT)
Fix T92460: crash when instancing on curves generated from string

Issue is that the Instance on Points node currently expects that all
instance references are used (see `remove_unused_references`).
This should be fixed at some point, but for now make sure that
the String to Curves node does not output unused references.
October 25, 2021, 12:41 (GMT)
Fix non-capitalized UI message.
October 25, 2021, 12:21 (GMT)
Tests: assets, add BKE callback init/finalize to test setup/teardown

Add calls to `BKE_callback_global_init()` and `BKE_callback_global_finalize()`
to ensure unit tests mimick Blender (and don't trip the assertions added
in rBbeea601e7253).

No functional changes to Blender.
Revision 4100a79 by Julian Eisel
October 25, 2021, 11:51 (GMT)
Assets: Add Author field to asset metadata

This is information you'd typically want to be visible in the UI. It's optional
of course, so if not relevant, it can just remain unset.
Revision e7bea3f by Julian Eisel
October 25, 2021, 11:33 (GMT)
Assets/IDs: Don't generate previews for object types with no real geometry

Object types like empties, cameras or lamps will just end up as empty preview
images. We can think about ways to visualize them still, but meanwhile, don't
create such an empty preview.

Differential Revision: https://developer.blender.org/D10334

Reviewed by: Bastien Montagne, Sybren St�vel
October 25, 2021, 11:30 (GMT)
Fix: crash in previously added versioning code
October 25, 2021, 11:28 (GMT)
Cleanup: clang-tidy, spelling
October 25, 2021, 11:28 (GMT)
Fix T92293: Clipped labels for graph editor modifiers

While c7d94a7827a5be9343eea22a9638bb059f185206 exposed this bug,
this was caused by a discrepancy in padding where labels would
have additional padding when drawing without emboss.
The padding made widget drawing behave as if the text took up more
room causing it to be clipped.

Now labels are considered the same width with/without emboss.
October 25, 2021, 11:14 (GMT)
GPencil: Fix unreported double stroke color in materials panel

There was an extra stroke color in the side panel, but this prop must be visible only in Topbar.
October 25, 2021, 11:03 (GMT)
Geometry Nodes: new Image Texture node

This adds a new image texture node for geometry nodes. It does not
reuse the same node that is used in shading, because we want to be
able to expose the image and frame as sockets.

There is a known update issue when a movie or image sequence is
used. That will be fixed separately (also see D12957).

Currently, the image socket is just a pointer to an Image ID data block.
This can contain single images but also movies and image sequences.
In the future, the definition of an image socket can be expanded to
include images that are generated from scratch in the node tree.
For more details read the discussion in D12827.

Some of the code is a direct port from cycles and should be cleaned
up a bit in the future. For example `image_cubic_texture_lookup`.

For still images, the frame input is ignored. Otherwise, the frame
has to be in a valid range for the node to work. In the future we
may add e.g. automatic looping functionality.

Differential Revision: https://developer.blender.org/D12827
October 25, 2021, 10:58 (GMT)
Cleanup: rename Outliner function

Seems like typos in rB32dc085289ac

outline_batch_delete_hierarchy --> outliner_batch_delete_hierarchy

Differential Revision: https://developer.blender.org/D12989
October 25, 2021, 10:58 (GMT)
Fix T91411: Outliner crash using contextmenu operators from a shortcut

Oversight in {rBb0741e1dcbc5}.

This was guarded by an assert in `get_target_element`, but it can be
valid to have these assigned to a shortcut (and then perform the action
without an active outliner element).

Now remove the assert and let the operator polls check if we really have
a target element.

note: this basically makes `get_target_element` obsolete, could call
`outliner_find_element_with_flag` instead in all cases.

Maniphest Tasks: T91411

Differential Revision: https://developer.blender.org/D12495
October 25, 2021, 10:46 (GMT)
Spreadsheet: fix updating active domain when component type changes

The mesh and instances case wasn't handled before.
October 25, 2021, 10:37 (GMT)
Cleanup: asset catalog path test, improve sub-test separation

Put related lines in a block of their own, such that each block doesn't
have access to the variables of the previous blocks.

This makes it easier to correctly copy-paste some tests, as the compiler
forces you to update the code afterwards.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021