Blender Git Commit Log

All Blender Git commits.

Page: 771 / 8462

March 31, 2021, 12:43 (GMT)
Fix: Cryptomatte Picker on Legacy Node Failing.

The new Cryptomatte workflow assumes that the picker is used in the new
workflow. The legacy node wasn't working as it would never find a
correct cryptomatte layer. This fix will use the color sampling like we
used to do.
March 31, 2021, 12:43 (GMT)
Compositor: Keep WorkPackages and Data Around.

WorkPackages struct was created when scheduled. This patch keeps the
WorkPackages around and stores additional data with the workpackages.

The speedup is to small to notice, but it is needed as preparation
to introduce a faster scheduling method.
March 31, 2021, 12:36 (GMT)
Fix T87080: Select shortest path fails in face mode

Regression in 80cbbd2843c2358879b1a710d81a3b41e1468327.

Unfortunately keeping selection picking behavior as well as
supporting finding the nearest face within a radius requires an
inconsistency between x-ray and back-buffer selection that
doesn't work well using the current arguments.

Resolve by adding an argument that causes the input distance
to be ignored for back-buffer selection.

This is used by selection picking but not the knife tool.

This changes behavior for path-selection in face mode,
which now uses a margin for back-buffer selection.

From my own testing this doesn't seem to be a problem like it could be
for regular selection picking.
March 31, 2021, 12:27 (GMT)
Merge branch 'master' into temp-compositor-single-threaded-operation
Revision d97dca5 by Falk David (master)
March 31, 2021, 12:23 (GMT)
Fix T86947: Drag & Drop tooltip in Scene mode

The tooltip while dragging a collection in Scene mode in the Outliner
was always "Link inside Collection" even if the action performed was
different. This was because the `collection_drop_init` set the
`from_collection` always to `NULL` if the Outliner display mode was
currently set to Scene.
Commit that introduced this issue:
rB0f54c3a9b75be8f8db9022fb0aeb0f8d0d4f0299

The fix removes the check of the display mode and only sets the
`from_collection` to `NULL` if the ctrl (linking) key is held.

Reviewed By: JacquesLucke

Maniphest Tasks: T86947

Differential Revision: https://developer.blender.org/D10864
March 31, 2021, 12:21 (GMT)
Fix: Cryptomatte Picker on Legacy Node Failing.

The new Cryptomatte workflow assumes that the picker is used in the new
workflow. The legacy node wasn't working as it would never find a
correct cryptomatte layer. This fix will use the color sampling like we
used to do.
March 31, 2021, 12:21 (GMT)
Compositor: Keep WorkPackages and Data Around.

WorkPackages struct was created when scheduled. This patch keeps the
WorkPackages around and stores additional data with the workpackages.

The speedup is to small to notice, but it is needed as preparation
to introduce a faster scheduling method.
Revision 8d45a96 by Falk David (master)
March 31, 2021, 12:19 (GMT)
Fix T87082: Smooth thickness not working

When using the smooth operator, the thickness would not be
smoothed on the first iteration. This was becasue the inner loop
was set to run `r * 20` times but `r` starts at 0.

The fix makes sure that "Smooth Thickness" works on the first
iteration by using a fixed value of `20` as the loop limit. This
makes sure that for every iteration, we run the smoothing of the
thickness 20 more times.

Reviewed By: antoniov

Maniphest Tasks: T87082

Differential Revision: https://developer.blender.org/D10867
March 31, 2021, 11:34 (GMT)
Makefile: add update_code target

Convenience target for updating the code, skipping SVN.

The Python script supports it, but this wasn't exposed in the makefile.

Ref D10457
March 31, 2021, 11:08 (GMT)
Prevent preview loading from triggering continuous redraws

The preview rendering notifiers would be continuously sent, causing
continuous redraws. In the File Browser that also happens (and I don't
think it's intentionaly) although it causes refreshes there that don't
do much and there won't be redraws unless necessary. Correcting this may
cause issues, so better to do it separately.

Issue is that the previews were fetched using the BLI_task API, and a
timer was started to send notifiers continuously. But there was nothing
to check if the tasks were done, so that the timer could be stopped.
March 31, 2021, 10:52 (GMT)
cleanup
March 31, 2021, 10:41 (GMT)
cleanup
March 31, 2021, 10:34 (GMT)
Cleanup: Fix warnings

Introduced in b128ffd53970
March 31, 2021, 10:24 (GMT)
avoid some copies
March 31, 2021, 10:16 (GMT)
node in spreadsheet
March 31, 2021, 10:15 (GMT)
Cleanup: Fix warnings

Introduced in b128ffd53970
March 31, 2021, 10:03 (GMT)
initial code
March 31, 2021, 09:00 (GMT)
Cleanup: use constexpr for num channels.

Don't assume all compilers are smart. MSVC doesn't inline the call away like CLANG and GCC did.
March 31, 2021, 07:46 (GMT)
Fix build error on windows

Error was caused by using `#if` directive in `PyDoc_STRVAR` macro.

This partially reverts 1e4c35d910e18858c41924f9e27ef8e1070cbd0a
March 31, 2021, 07:27 (GMT)
Cleanup: Remove SEQ_CURRENT_BEGIN macro

Use LISTBASE_FOREACH instead.
SEQ_CURRENT_BEGIN did null checks, so now these must be explicit.

Reviewed By: campbellbarton

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