Blender Git Commits

Blender Git "temp-attribute-processor" branch commits.

Page: 4 / 8

June 7, 2021, 14:59 (GMT)
windows/deps: Fix TBB build issues.

rB847579b42250 updated the TBB build script
which had some unintended consequences for
windows as the directory layout slightly
changed.

This change adjusts the builder to the new
structure, there are no version/functional
changes.
June 7, 2021, 14:59 (GMT)
Texture Paint: changing paint slots and viewport could go out of sync

When changing to another texture paint slot, the texture displayed in
the viewport should change accordingly (as well as the image displayed
in the Image Editor).

The procedure to find the texture to display in the viewport
(BKE_texpaint_slot_material_find_node) could fail
though because it assumed iterating nodes would always happen in the
same order (it was index based). This is not the case though, nodes can
get sorted differently based on selection (see ED_node_sort).

Now check the actual image being referenced in the paint slot for
comparison.

ref T88788 (probably enough to call this a fix, the other issue(s)
mentioned in the report are more likely a feature request)

Reviewed By: mano-wii

Maniphest Tasks: T88788

Differential Revision: https://developer.blender.org/D11496
June 7, 2021, 14:59 (GMT)
LibOverride: Fix early break in some of the resync code.

This `break` moved out of its braces at some point in the previous
fixes/refctors... :(
June 7, 2021, 14:59 (GMT)
Fix T88803: GPencil Thickness modifier produces thicker lines

There was a double apply of the thickness due a bug in the fading new parameter.

Differential Revision: https://developer.blender.org/D11483
June 7, 2021, 14:59 (GMT)
FFmpeg: Fix seeking not returning the correct frame when not using TC index

Fixed the logic for seeking in ffmpeg video files.
The main fix is that we now apply a small offset in ffmpeg_get_seek_pos
to make sure we don't get the frame in front of the seek position when
seeking backward.

The rest of the changes is general cleanup and untangling code.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11492
June 7, 2021, 14:59 (GMT)
GPencil: Cleanup unneeded variable assign

The variable is assigned below again and the initial value is not used.
June 7, 2021, 14:59 (GMT)
Math: Added max_uu/min_uu variations.
June 7, 2021, 14:59 (GMT)
Nodes: Add Multiply Add to Vector Math nodes

Cycles, Eevee, OSL, Geo, Attribute

This operator provides consistency with the standard math node. Allows users to use a single node instead of two nodes for this common operation.

Reviewed By: HooglyBoogly, brecht

Differential Revision: https://developer.blender.org/D10808
June 7, 2021, 14:59 (GMT)
Greasepencil: show pressure curve widgets in the sidebar

These were only showing in the Properties Editor, but there is no reason
to have the panels be different in the sidebar (they should not show in
the top bar though).

agreed upon by both @anoniov and @mendio

ref T88787
June 7, 2021, 14:59 (GMT)
GPencil: Change Fill extend lines icon

The icon has been changed to `eye` because is more consistent with other areas.
June 7, 2021, 14:59 (GMT)
GPencil: Change Fill Boundary icon

The icon has been changed to `eye` because is more consistent with other areas.
June 7, 2021, 14:59 (GMT)
Fix T88813: Scalable allocator not used on win10

Due to the way we ship the CRT on windows TBB's
malloc proxy was unable to attach it self to
the memory management functions on windows 10.

This change moves ucrtbase.dll out of the blender.crt
folder and back into the main blender folder to side
step some undesirable behaviour on win10 making TBB
once more able to attach it self.

Having this work again, should give a speed
boost in memory allocation heavy workloads
such as mantaflow.

For details on how this only failed on Win10
see T88813
June 7, 2021, 14:59 (GMT)
BlenLoad: Ensure linked IDs are properly sorted.

So far, linked IDs were not properly sorted at all, only the ones
explicitely linked from WM code would be, but any indirectly linked
data-blocks would end up in some random order in their lists.

While not ideal, this is not a huge issue in itself, but it had bad
side-effects, e.g. causing (recursive) resync of overrides to happen in
random order, leading to mismatches between name indices of newly-generated
override IDs and the one existings e.g.

And in general, it is much better to be consistent here.

Note that the file sub-version is bumped for this commit, since some
sorting (the directly linked IDs which we keep a reference to) should
never need to be re-done after relevant doversion process.
June 7, 2021, 14:59 (GMT)
Geometry Nodes: Curve Length Node

This commit adds a node that outputs the total length of all
evalauted curve splines in a geometry set as a float value.

Differential Revision: https://developer.blender.org/D11459
June 7, 2021, 14:58 (GMT)
VSE: Add refresh_all operator to all sequencer regions

This operator is needed in some cases to update image preview.
In workspaces with smaller timelines this is limiting, because users
need to first check that mouse cursor is in correct place, then press
CTRL+R shortcut.
June 7, 2021, 14:58 (GMT)
Cleanup: unused variable
June 7, 2021, 14:58 (GMT)
GHOST/wayland: inhibit warning
June 7, 2021, 14:58 (GMT)
Overlay: Flash on Mode Transfer overlay

This implements T87633

This overlay renders a flash animation on the target object when
transfering the mode to it using the mode transfer operator.
This provides visual feedback when switching between objects without
extra overlays that affect the general color and lighting in the scene.

Differences with the design task:

- This uses just a fade out animation instead of a fade in/out animation.
The code is ready for fade in/out, but as the rest of the overlays
(face sets, masks...) change instantly without animation, having a fade
in/out effect gives the impression that the object flashes twice (once
for the face sets, twice for the peak alpha of the flash animation).

- The rendering uses a flat color without fresnel for now, but this can
be improved in the future to make it look more like the shader in the
prototype.

- Not enabled by default (can be enabled in the overlays panel), maybe
the defaults can change for 3.0 to disable fade inactive and enable this
instead.

Reviewed By: jbakker, JulienKaspar

Differential Revision: https://developer.blender.org/D11055
June 7, 2021, 14:58 (GMT)
Cleanup: spelling in comments, correct outdated comments
June 7, 2021, 14:58 (GMT)
GHOST/wayland: adapt window and cursor surface scale to support HiDPI screens
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021