Blender Git Commit Log

All Blender Git commits.

Page: 140 / 8462

October 25, 2021, 14:57 (GMT)
UI Drag Drop: allow customizable drawing

No functional changes.

This commit adds 3 callbacks for `wmDropBox` which allow custom drawing
without affecting the internal dropbox API.

Differential Revision: https://developer.blender.org/D12948
October 25, 2021, 14:57 (GMT)
Drag Drop: allow customizable drawing
October 25, 2021, 14:57 (GMT)
Assets: Snapping with visual feedback while dragging

The drag and drop feature of objects in 3D View has been modified to include:
- Snap the object being dragged.
- Visual feedback through a box and the placement tool grid.

Maniphest Tasks: T90198

Differential Revision: https://developer.blender.org/D12912
October 25, 2021, 14:52 (GMT)
Cleanup: silence warning in recent commit

Thanks to Dr. Sybren for pointing it out!
October 25, 2021, 14:39 (GMT)
Cleanup: refactor filelist filter functions

Perform a few cleanups:

- Add documentation to explain what returned bools mean.
- Early returns so that flow is clearer and some checks on `is_filtered`
are no longer necessary.
- Split up `is_filtered_file` and `is_filtered_id_file`, so that they can
reuse common code, and such that the different filter checks they
perform can be separated from each other.

The latter is done not only to reduce code duplication, but also as
preparation to fix the asset browser filtering. For that, it helps when
the "filter by file name" and "filter by file type" parts are separate.

No functional changes.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D12991
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 (master)
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.
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.
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.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021