Blender Git Commit Log

All Blender Git commits.

Page: 231 / 8462

September 21, 2021, 08:55 (GMT)
VSE: Image transform tools

Add tools for image manipulation in sequencer preview region.

This includes:
- Translate, rotate and resize operators, tools and gizmos
- Origin for image transformation
- Median point and individual origins pivot modes
- Select and Box select operator works in preview
- Image overlay drawing

ref T90156

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12105
September 21, 2021, 08:55 (GMT)
VSE strip thumbnails

Draw thumbnails as strip overlay. This works for movie and image strips.
To draw thumbnails, this overlay has to be enabled and strips must be
tall enough.

The thumbnails are loaded from source file using separate thread and
stored in cache.

Drawing code uses only images stored in cache, and if any is missing,
background rendering job is started. If job can not render thumbnail,
to prevent endless loop of creating job for missing image it sets
`SEQ_FLAG_SKIP_THUMBNAILS` bit of `Sequence` flag.

To prevent visual glitches during timeline panning and zooming, `View2D`
flag `V2D_IS_NAVIGATING` is implemented. If bit is set, drawing code
will look for set of evenly distributed thumbnails that should be
guaranteed to exist and also set of previously displayed thumbnails.
Due to volatile nature of cache these thumbnails can be missing anyway,
in which case no new thumbnails will be drawn for particular strip.

Cache capacity is limited to 5000 thumbnails and performs cleanup of
non visible images when limit is reached.

ref T89143

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D12266
September 21, 2021, 08:43 (GMT)
LibOverride: make `view_layer` API parameter optional.

This is used to find a valid collection in which to instantiate stray
objects and collections.

In some cases there will be no such active view layer, in which case we
can consider using the Scene's master collections children hierarchy
instead to find a valid instantiated parent collection for those stray
data.
September 21, 2021, 08:30 (GMT)
Asset Catalogs: move from string identifier to UUIDs

Move from a string `catalog_id` to a UUID. This avoids having to keep
the ID of the catalog in sync with its semantics (so renaming from X to
Y can keep the UUID the same).

Since UUIDs don't communicate any human-readable information, the
mapping from catalog UUID to its path (stored in the Catalog Definition
File, CDF) is critical for understanding which asset is stored in which
human-readable catalog. To make this less critical, and to allow manual
data reconstruction after a CDF is lost/corrupted, each catalog also has
a "simple name" that's stored along with the UUID. This is also stored
on each asset, next to the catalog UUID.
September 21, 2021, 08:24 (GMT)
Keymap: preference for keys to set the active tool

With "Keys Activate Tools" preference enabled, keys such as G/R/S
activate the move/rotate/scale tool instead of the modal operator.

Addresses T83692.
September 21, 2021, 08:24 (GMT)
Keymap: preference for Alt-LMB to use the active tool

With the LMB select key-map some tools required clicking on a gizmo.
With this preference it's possible to hold Alt and click anywhere.

Addresses T83689.
September 21, 2021, 08:23 (GMT)
Asset Catalog tree test: add array boundary check

This makes it easier to figure out what's going on when the test isn't
updated for new test data in the file it reads.

No functional changes to Blender itself.
September 21, 2021, 08:22 (GMT)
Cleanup: asset catalog test, add explanatory comment

No functional changes.
September 21, 2021, 08:14 (GMT)
Keymap: preference for fallback-tool with RMB select

Expose a key-map preference "Fallback Tool (RMB)",
disabled by default.

The right mouse button uses the fallback tool
(currently visible selection tool in the toolbar),
instead of always tweaking.

When any selection tool is active, right mouse always tweaks.

To enable fallback selection on RMB, set the "Right Mouse Select Action"
to "Selection Tool".

Internal changes:

- Add fall-back key-maps, separate key-maps needed for when the tool is
run as a fall-back. This is needed so RMB-select can support fall-back
tools, so left-mouse can be used when it's the active tool and RMB
can be used as a fall-back action when another tool is active.
- Add options field to tools so tools without gizmos can enable the
full-back tool keymap.
- Support multiple key-maps for keymap handlers.
- Fall-back keymaps now co-exist with the tool-keymaps.
So both keymaps may be active at once - using different mouse buttons.
When gizmos are in use, a highlighted gizmo prioritizes the
tool-keymap over the fall-back keymap.

Resolves T83690.

Reviewed By: JulienKaspar

Ref D12493
September 21, 2021, 07:44 (GMT)
Just what version of C++ does the linux buildbot use, anyway.
September 21, 2021, 07:26 (GMT)
WM: only return PASS_THROUGH on PRESS for selection operators

Some selection operators return (PASS_THROUGH & FINISHED) so the tweak
event isn't suppressed from the PRESS event having been handled.

This is now restricted to events with a PRESS action.
Without this, using CLICK for selection was passing the event through
which could run other actions unintentionally.
September 21, 2021, 07:13 (GMT)
Fix last commit
September 21, 2021, 07:04 (GMT)
forgot a line
September 21, 2021, 07:03 (GMT)
More linux fixes
September 21, 2021, 06:28 (GMT)
Try to fix another linux compile error
September 21, 2021, 06:07 (GMT)
Merge remote-tracking branch 'origin/master' into lineart-shadow
September 21, 2021, 06:07 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
September 21, 2021, 05:56 (GMT)
try to fix weird gcc compile error
September 21, 2021, 05:52 (GMT)
Sculpt: more brush stuff
September 21, 2021, 04:26 (GMT)
Merge branch 'master' into temp-vert-normals-cleanup
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021