Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 215 / 5574

Revision 0521272 by Hans Goudey
July 7, 2021, 01:42 (GMT)
Fix: Curve Resample Node: Copy attributes to 1 point results

The curve resample node neglected to copy attributes to single point
result splines. That could have caused errors if some of the splines
in the result had only one point but others had more.
July 7, 2021, 01:26 (GMT)
VSE: Use snapping settings for scrubbing

Use "Snap Playhead to Strips" option to enable playhead snapping.
Change behavior of CTRL key to invert snapping similar to transform operator.

Currently this option is disabled by default. It makes editing quite unpleasant
for me personally, but ideally I should gather feedback from more users.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D11745
July 7, 2021, 01:14 (GMT)
VSE: Remove seq->tmp usage from RNA code

This field was used to reference "parent" meta strips in `sequences_all`
RNA collection iterator functions.

Use `SeqIterator` wrapped in `BLI_Iterator` to iterate over elements.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11793
July 7, 2021, 01:02 (GMT)
VSE: Fix cache bar not visible

Cache bar was only visible when Frame overlay was enabled

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11779
July 6, 2021, 23:09 (GMT)
Compositor: Fix constant folded operations not being rendered

Many operations do not expect single element buffers as output.
Use full buffers with a single pixel instead.
July 6, 2021, 23:09 (GMT)
Compositor: Fix crash when executing works in constant folding

Work scheduler needed initialization and execution models are
not created during constant folding. This moves work execution
method to execution system.
July 6, 2021, 20:18 (GMT)
GPencil: Rename BKE_gpencil_visible_stroke_iter

Renamed to BKE_gpencil_visible_stroke_advanced_iter

Also created a simple version of the iterator to be used without multiframe and onion skin.
July 6, 2021, 19:17 (GMT)
UI: Center the Status Bar Progress Text

This patch horizontally centers the text inside the progress bar
widget. It is currently left-aligned and offset to the middle, which
doesn't center properly.

see D11205 for details and examples.

Differential Revision: https://developer.blender.org/D11205

Reviewed by Julian Eisel
July 6, 2021, 18:22 (GMT)
Compositor: Fix execution system unset during constant folding
Revision 40de574 by Hans Goudey
July 6, 2021, 18:12 (GMT)
Fix: Crash when geometry nodes NURB spline has no evaluated points
Revision 586cf8b by Lukas Toenne
July 6, 2021, 17:36 (GMT)
Nodes: Adds button to groups to change type of sockets.

The menu lists all socket types that are valid for the node tree.
Changing a socket type updates all instances of the group and keeps
existing links to the socket.
If changing the socket type leads to incorrect node connections the
links are flagged as invalid (red) and ignored but not removed. This is
so users don't lose information and can then fix resulting issues.
For example: Changing a Color socket to a Shader socket can cause an
invalid Shader-to-Color connection.

Implementation details:
The new `NODE_OT_tree_socket_change_type` operator uses the generic
`rna_node_socket_type_itemf` function to list all eligible socket types.
It uses the tree type's `valid_socket_type` callback to test for valid
types. In addition it also checks the subtype, because multiple RNA
types are registered for the same base type. The `valid_socket_type`
callback has been modified slightly to accept full socket types instead
of just the base type enum, so that custom (python) socket types can be
used by this operator.

The `nodeModifySocketType` function is now called when group nodes
encounter a socket type mismatch, instead of replacing the socket
entirely. This ensures that links are kept to/from group nodes as well
as group input/output nodes. The `nodeModifySocketType` function now
also takes a full `bNodeSocketType` instead of just the base and subtype
enum (a shortcut `nodeModifySocketTypeStatic` exists for when only
static types are used).

Differential Revision: https://developer.blender.org/D10912
July 6, 2021, 17:17 (GMT)
cmake: add 'wayland-protocols' to 'make deps'
July 6, 2021, 17:17 (GMT)
cmake: use harvested 'wayland-protocols' if system version is insufficient
July 6, 2021, 17:17 (GMT)
GHOST/wayland: define BTN event codes manually
July 6, 2021, 17:17 (GMT)
doc: add Wayland dependencies

The wayland support requires the following development packages:
libwayland-dev, wayland-protocols, libegl-dev, libxkbcommon-dev,
libdbus-1-dev, linux-libc-dev
Revision 9182c88 by Hans Goudey
July 6, 2021, 17:11 (GMT)
Geometry Nodes: Allow 3 points in curve star primitive
July 6, 2021, 16:20 (GMT)
Cleanup: Keyframing, remove duplicate code

Remove duplicate code from the `ANIM_OT_keyframe_delete` operator. The
actions of the removed code are already performed by the preceding
`keyingset_get_from_op_with_error()` call.

No functional changes.
July 6, 2021, 16:20 (GMT)
Fix T89592: Can't remove keyframes without active keying set

Partially revert 7fc220517f87a2c40a4f438a50485233ae6ed62f, as it
introduced two issues:

- Deleting keys without active keying set was no longer possible, and
- there was no more confirmation popup.

Pressing {key Alt I} in the 3D Viewport now executes
`ANIM_OT_keyframe_delete_v3d`, adjusted to suit both T88068 and T89592:

- If there is an active keying set, delete keys according to that keying
set.
- Otherwise, behave as `ANIM_OT_keyframe_delete_v3d` did before, that
is, delete all keyframes of the selected object and in pose-mode also
of selected bones.
July 6, 2021, 16:11 (GMT)
Compositor: Constant folding

Currently there is no clear way to know if an operation is constant
(i.e. when all rendered pixels have same values). Operations may
need to get constant input values before rendering to determine
their resolution or areas of interest. This is the case of scale, rotate
and translate operations. Only "set operations" are known as
constant but many more are constant when all their inputs are so.
Such cases can be optimized by only rendering one pixel.

Current solution for tiled implementation is to get first pixel
from input. This works for root execution groups, others
need previous groups to be rendered.

On full frame implementation this is not possible, because buffers
are created on rendering to reduce peak memory and there is
no per pixel calls.

This patch evaluates all operations that are constant into primitive
operations (Value/Vector/Color) before determining resolutions.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11490
July 6, 2021, 16:11 (GMT)
Compositor: Enable constant folding on operations

Only on current full frame operations that can be constant.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021