Blender Git Commits

Blender Git commits from all branches.

Page: 338 / 2888

June 7, 2021, 14:58 (GMT)
Fix T57397: Movies are blurred after sws_scale

Images with 4:2:2 and 4:4:4 chroma subsampling were blurred when
`SWS_FAST_BILINEAR` interpolation is set for `anim->img_convert_ctx`.

Use `SWS_BILINEAR` interpolation for all movies, as performance is
not impacted by this change.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11457
June 7, 2021, 14:58 (GMT)
Cleanup: Strip duplication code

Remove unused flag `SEQ_DUPE_ANIM` and code used by this flag.
Remove flag `SEQ_DUPE_CONTEXT` and refactor code, to split operator
logic from duplication code.
Reduce indentation level in for loop.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11318
June 7, 2021, 14:58 (GMT)
VSE: Add strip-time intersection test function

Use SEQ_time_strip_intersects_frame function to test if strip intersects with frame.

Note: There are cases where this function should not be used. For example splitting
strips require at least 1 frame "inside" strip. Another example is drawing, where
playhead technically doesn't intersect strip, but it is rendered, because current
frame has "duration" or "thickness" of 1 frame.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11320
June 7, 2021, 14:58 (GMT)
Cleanup: Fix build warnings
June 7, 2021, 14:58 (GMT)
Cleanup: Remove unused 'ExtractTaskData's members
June 7, 2021, 14:58 (GMT)
Draw Mesh Extractor: Fix used thread count

Some threads were always idle because of this.
June 7, 2021, 14:58 (GMT)
Fix invalid return values from file_execute

Error in 6c8c30d865ee8aafc3a088ce97b1caa4c4cc9ed7
June 7, 2021, 14:58 (GMT)
Cleanup: use doxy sections for node_relationships.cc
June 7, 2021, 14:58 (GMT)
Cleanup: spelling in comments, correct outdated comments
June 7, 2021, 14:58 (GMT)
Cleanup: use ascii characters instead of unicode where possible

Follow own code style docs.
June 7, 2021, 14:58 (GMT)
IDManagement: Collection: Fix several issues in relationships building code.

`BKE_main_collections_parent_relations_rebuild`,
`BKE_collection_parent_relations_rebuild` anf their internal
dependencies had two issues fixed by this commit:

* Main one was that a same collection could be processed several times,
sometimes even in an infinite loop (in some rare corner cases), by
`collection_parents_rebuild_recursive`.
* More exotic, code here would not ensure that the collections it was
processing were actually in Main (or a master one from a scene in
Main), which became an issue with some advanced ID management
processes involving partially out-of-main remapping, like liboverride
resync.
June 7, 2021, 14:58 (GMT)
LibOverride: ensure proper indirect tag for 'virtual' linked IDs.

Ensure 'virtual' linked override IDs generated by the recursive resync
process are tagged as indirectly linked data.

This is needed to avoid the 'missing data' messages on those virtual
data-blocks after saving and reloading.
June 7, 2021, 14:58 (GMT)
Cleanup: make format
June 7, 2021, 14:58 (GMT)
Fix T88762: UI using tab to enter next button could clamp the hard min/
max unneccessarily

Since rB298d5eb66916 [which was needed to update buttons with custom
property range functions correctly], using tab would always clamp
(hardmin/hardmax) properties which were using FLT_MAX / INT_MAX as range
in their property definitions.

The clamping of rB298d5eb66916 was copied over from rB9b7f44ceb56c
[where it was used for the softmin/softmax], and while the re-evaluation
of hardmin/hardmax is needed for custom property range functions, the
clamping should actually not take place.

There are many properties using FLT_MAX / INT_MAX etc. and while it
probably would be good to update these with ranges that make more sense
-- not using FLT_MAX / INT_MAX would not have done the clamping here --
there should not be an arbitrary limit to these and they should stay as
they are.

Maniphest Tasks: T88762

Differential Revision: https://developer.blender.org/D11473
June 7, 2021, 14:58 (GMT)
LibOverride: Add `override_hierarchy_create`to ID's RNA API.
June 7, 2021, 14:58 (GMT)
Fix missing updates in RNA override create functions.
June 7, 2021, 14:58 (GMT)
LibOverride: Fix some fail cases with auto-resync.

In some cases e.g. only objects would actually need resync, so
collections on the override character would not be resynced, and if some
objects were sharing relationships with others those could be
lost/destroyed.
June 7, 2021, 14:58 (GMT)
LibOverride: fix previous commit (rB826bed4349fa).
June 7, 2021, 14:58 (GMT)
WM: only use the tablet drag threshold for mouse button events

Keyboard click-drag events now use the "Drag Threshold".
This resolves a problem where keyboard click drag events
used a much smaller threshold when using a tablet.
June 7, 2021, 14:58 (GMT)
GHOST/wayland: set swap interval to 0

The Wayland server will not update hidden surfaces. This will block the
main event loop and thus also block updates to visible windows in a multi-
window setup.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021