Blender Git Loki

Blender Git "soc-2021-porting-modifiers-to-nodes-decimate" branch commits.

Page: 7 / 18

July 30, 2021, 14:56 (GMT)
Revert "GHOST/wayland: use Wayland only when 'BLENDER_WAYLAND' is set"

This reverts commit c971c851d38ad52779fa5d75c86bbfb83abf660b.

This change was part of the still-under-review patch D11489, which
hasn't been accepted yet.
July 30, 2021, 14:56 (GMT)
Fix: avoid creating improper rotation matrix

This might change the rotation of some instances after a Curve to Points.
Unfortunately, there is not much we can do about that, the math before
was just wrong. The forward and up axis stayed the same though.

Differential Revision: https://developer.blender.org/D12006
July 30, 2021, 14:56 (GMT)
VSE: Fix truncated label

Label for snapping current frame to strips was cut off and not very readable.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D11951
July 30, 2021, 14:56 (GMT)
Cleanup: Fix compiler warning in previous commit

July 30, 2021, 14:56 (GMT)
Compositor: Fix memory leak when exporting operations on debug
July 30, 2021, 14:56 (GMT)
VSE: Fix snapping bugs

Fix hold offset check causing missing snapping point when strip have
only still frames.

Fix effect strips of transformed strips causing snapping to prevoius
strip positions.

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11948
July 30, 2021, 14:56 (GMT)
Compositor: Full frame Levels node

Adds full frame implementation to this node operations.
No functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11749
July 30, 2021, 14:56 (GMT)
UI: Do not abbreviate/shorten wording

Abbreviations are harder to read and understand thus it is best to be direct.
For example without understanding and context it is hard to know exactly what "Len" means.
July 30, 2021, 14:56 (GMT)
Cleanup: Add function to check a curve's spline types

The need for this has come up a few times.
July 30, 2021, 14:56 (GMT)
Compositor: Add coordinates to BuffersIterator

Allows to cover many use cases where iterating both buffers and
coordinates is needed.
July 30, 2021, 14:56 (GMT)
Cleanup: remove normal assignment from bm_mesh_edges_sharp_tag

This was added in 0b7f5813973c515b84cd7c18ef6d7d1e59374237
but seems not to be needed as the assignment was never correct
since only one corner on either side of the smooth edge had the
vertex normal written to it.
July 30, 2021, 14:56 (GMT)
Compositor: Full frame Movie Clip node

Adds full frame implementation to this node operation.
No functional changes.
2x faster than tiled fallback.
July 30, 2021, 14:56 (GMT)
Fix T90026: attributes added in editmode are lost on modeswitch

When exiting editmode, customdata [and thus attributes] are copied from
**BMesh** to **Mesh** (in `BM_mesh_bm_to_me`).
When adding attributes, these were always added via
`CustomData_add_layer_named` only.
Instead (if we are in mesh editmode), we need to go through
`BM_data_layer_add_named` to properly update the **BMesh** (see
`update_data_blocks`) so we have stuff available to copy back to
**Mesh** when exiting editmode.
Same is done for removing (also going through BMesh).

This is now done, DomainInfo is updated to point to BMesh (instead of
Mesh) customdata when in editmode.

Maniphest Tasks: T90026

Differential Revision: https://developer.blender.org/D11998
July 30, 2021, 14:56 (GMT)
Cleanup: remove unused BM_mesh_loop_normals_update function

The only difference with BM_loops_calc_normal_vcos was passing in
custom coordinates which may be NULL.
July 30, 2021, 14:56 (GMT)
Edit Mesh: multi-thread auto-smooth & custom normal calculations

Supported multi-threading for bm_mesh_loops_calc_normals.

This is done by operating on vertex-loops instead of face-loops.

Single threaded operation still loops over faces since iterating
over vertices adds some overhead in the case of custom-normals
as the order used for accessing loops must be the same as iterating
of a faces loops.

From isolated timing tests of bm_mesh_loops_calc_normals on high
poly models, this gives between 3.5x to 10x speedup,
with larger gains for meshes with custom-normals.

NOTE: this is part one of two patches for multi-threaded auto-smooth,
tagging edges as sharp is still single threaded.

Reviewed By: mont29

Ref D11928
July 30, 2021, 14:56 (GMT)
PyGPU: new method 'GPUFrameBuffer.read_depth'

Method requested by users in order to port addons to new API.
July 30, 2021, 14:56 (GMT)
Geometry Nodes: Set Bezier Handle Type Node

This node takes a curve and a point selection and allows you to set the
specified (or all) points left/right or both handles to a given type.

Differential Revision: https://developer.blender.org/D11992
July 30, 2021, 14:56 (GMT)
Animation: Generic Slider implementation

Extract the slider gui implemented for the pose slide tools.
Generalise it so it can be used by other tools as well.

Reviewed by: Sybren A. St�vel
Differential Revision: https://developer.blender.org/D9314
Ref: D9314
July 30, 2021, 14:56 (GMT)
Compositor: Fix crash when using empty input sources

It's the case of Image or Movie Clip node when not selecting any
source or an empty one.
Render methods expect an output buffer with size, only render
operations with resolution.
July 30, 2021, 14:56 (GMT)
Cleanup: double spaces in strings
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021