Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 104 / 5574

October 16, 2021, 04:35 (GMT)
Fix T92252: User after free when opening file after Blender starts

Oversight in 6e4ab5b761b03b52177985ecbeb2c2f576159c74
October 16, 2021, 02:17 (GMT)
Fix nonnull-compare warning in DNA_view3d_types.h

Was introduced in rB93a8fd1249f
October 15, 2021, 23:28 (GMT)
VSE: Fix crash when scene strip is added to meta

Caused by 81514b0e913b, missed sanitizing `sound->offset_time` usage in
`seq_update_sound_bounds_recursive_impl()`.
October 15, 2021, 21:55 (GMT)
PyAPI Docs: Fix example not using keyword parameter

Fixes T92238
October 15, 2021, 21:42 (GMT)
VSE: Hide tool header by default

Tools currently used by VSE don't have much useful settings, but they
use a lot of space. Therefore these headers will be hidden by default.

Property `show_region_tool_header` was added to view menu to enable tool
settings.

This could be resolved by region overlap, but it isn't working well
currently.

Differential Revision: https://developer.blender.org/D12875
October 15, 2021, 21:33 (GMT)
Geometry Nodes: Rotate Euler: Use "Local" instead of "Point"

Since points aren't relevant in function nodes, replace all mentions
of it with "local" to illustrate rotations done in local-space instead.

Differential Revision: https://developer.blender.org/D12881
October 15, 2021, 21:20 (GMT)
Fix T92184: Cage gizmo doesn't with area light

This is caused by removing `gizmo_cage2d_modal()` code in 482806c8167.

Some areas use cage gizmo to modify RNA properties without using
transform operator like area light, image empty, and compositor preview.
This functionality is implemented in code that was removed.

Add this code back.

Reviewed By: zeddb, campbellbarton

Differential Revision: https://developer.blender.org/D12859
October 15, 2021, 21:20 (GMT)
Fix T91012: Scene strip doesn't play audio

Issue was caused by adding `seq->sound` check in ded68fb10275 in
function `BKE_sound_scene_add_scene_sound` as `offset_time` field was
introduced to resolve sub-frame a/v misalignment.

Scene strips don't have `bSound` allocated but also don't suffer from
a/v misalignment.

Remove `seq->sound` check and don't apply any offset for scene strips.

Reviewed By: zeddb, sergey

Differential Revision: https://developer.blender.org/D12819
October 15, 2021, 21:20 (GMT)
Remove math for 2D affine transform

Commit e1665c3d3190 added math to do 2D affine transformations with 3x3
matrices, but these matrices are also used for 3D transformations.

Remove added functions and use 4x4 matrices for 2D transformation.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12510
October 15, 2021, 21:20 (GMT)
Fix versioning for sequencer color balance modifier.

Commit 213554f24a17 added slope/offset/power controls to the sequencer
color balance modifier, but colors in this mode were not initialized
with old files.

Initialize colors to default values.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D12806
October 15, 2021, 20:23 (GMT)
Cleanup: remove unused functions
October 15, 2021, 20:23 (GMT)
Fix T72583: Sun Beams node artifacts

The artifacts are due to the loss of precision when doing some
calculations with float precision.
October 15, 2021, 20:12 (GMT)
Geometry Nodes: Updated Subdivision Surface Node

Replaces the old Subdivision Surface Node.

Changes:
- Removes implicit instance realization, instead the node runs once
per unique instance.
- "Use Creases" becomes a crease field input applied to edges.
The values are clamped between zero and one.

Addresses T91763

Differential Revision: https://developer.blender.org/D12830
Revision 19bab2a by Hans Goudey
October 15, 2021, 19:20 (GMT)
Geometry Nodes: Object info node optional instance output

The object info node output an instance as a performance optimization.
Before that optimization was (almost) invisible to the user, but now
that we aren't automatically realizing instances, it isn't intuitive
for a single object to become an instance.

I refactored the transform node so its ability to translate/transform
an entire geometry set was more usable from elsewhere and exposed the
function to get a geometry set from an object.

Differential Revision: https://developer.blender.org/D12833
Revision 76f386a by Hans Goudey
October 15, 2021, 19:09 (GMT)
Geometry Nodes: Fields transfer attribute node

This commit adds an updated version of the old attribute transfer node.
It works like a function node, so it works in the context of a
geometry, with a simple data output.

The "Nearest" mode finds the nearest element of the specified domain on
the target geometry and copies the value directly from the target input.

The "Nearest Face Interpolated" finds the nearest point on anywhere on
the surface of the target mesh and linearly interpolates the value on
the target from the face's corners.

The node also has a new "Index" mode, which can pick data from specific
indices on the target geometry. The implicit default is to do a simple
copy from the target geometry, but any indices could be used. It is also
possible to use a single value for the index to to retrieve a single
value from an attribute at a certain index.

Differential Revision: https://developer.blender.org/D12785
Revision 47a72ac by Hans Goudey
October 15, 2021, 18:57 (GMT)
Cleanup: Refactor use of implicit inputs in geometry nodes

Instead of checking whether the socket value was hidden, use the proper
node declaration to check whether the socket has an implicit input. The
remaining larger change to make is allowing nodes to specify what their
implicit input should actually be.
Revision 4682aad by Hans Goudey
October 15, 2021, 18:54 (GMT)
Fix: Field type inference considers unavailable sockets

If a node had unused/unavailable inputs, they were still considered
when deciding whether the output is a field or not.
October 15, 2021, 18:30 (GMT)
UI: Remove extra padding around curve widget

This commit removes the constant padding around to the left and
right of the curve widget. The padding worked in screen space and
didn't take UI scale/zoom into account. This makes the curve widget
consistent with the more recently added curve profile widget used
for bevel profiles.

Differential Revision: https://developer.blender.org/D12883
October 15, 2021, 17:07 (GMT)
Cleanup: remove accidental comment
October 15, 2021, 17:00 (GMT)
Fix T62325, T91990: changing Cycles presets does not update the Blender UI

Checking RNA_MAGIC is not enough to identify the ID property case which always
needs updates. If the property is already resolved to an RNA property we need
to check the flag too.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021