Blender Git Commit Log

All Blender Git commits.

Page: 530 / 8462

June 21, 2021, 14:31 (GMT)
Fix T89262: Crash in regular FileBrowser ID listing of 'asset' .blend files.

`ED_fileselect_get_asset_params` would only return actual data pointer
when file browser is in ASSET mode.

Calling that whole section only makes sense if filebrowser is in asset
mode anyway.

Regression introduced in rBf6c5af3d4753 I think.

@Severin committing this fix now as this is a fairly critical bug for
the studio, feel free to revert and do proper fix if this one is not the
best solution.
June 21, 2021, 14:31 (GMT)
Raycast geometry node.

The //Raycast// node intersects rays from one geometry onto another.
It computes hit points on the target mesh and returns normals, distances
and any surface attribute specified by the user.

A ray starts on each point of the input //Geometry//. Rays continue
in the //Ray Direction// until they either hit the //Target Geometry//
or reach the //Ray Length// limit. If the target is hit, the value of the
//Is Hit// attribute in the output mesh will be true. //Hit Position//,
//Hit Normal//, //Hit Distance// and //Hit Index// are the properties of the
target mesh at the intersection point. In addition, a //Target Attribute//
can be specified that is interpolated at the hit point and the result
stored in //Hit Attribute//.

Docs: D11620

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D11619
June 21, 2021, 14:31 (GMT)
Fix T89233: Incorrect attribute remove warning for curves

The curve attribute delete function didn't return whether it was
successful or not.
June 21, 2021, 14:31 (GMT)
Fix T89247: Dereference arguments to comparison function correctly

`bm_face_len_cmp` incorrectly interpreted its arguments as `BMFace *`
instead of `BMFace **`, causing an out-of-bounds read.

Ref D11637
June 21, 2021, 14:31 (GMT)
Fix T89210: Box selection can fail in graphics editor

Test the intersection of segment instead of point.
June 21, 2021, 14:31 (GMT)
Fix undefs from previous commit
June 21, 2021, 14:31 (GMT)
Cleanup: use standard identifier for uint64_t string formatting
June 21, 2021, 14:31 (GMT)
Cleanup: replace 'unsigned in' with 'uint'
June 21, 2021, 14:31 (GMT)
Cleanup: clang-tidy
June 21, 2021, 14:31 (GMT)
CMake: remove workaround for version that's no longer supported
June 21, 2021, 14:31 (GMT)
Cleanup: move mesh tessellation into it's own file

This matches BMesh which also has tessellation in it's own file.

Using a separate file helps with organization when
extracting code into smaller functions.
June 21, 2021, 14:31 (GMT)
VSE: Refactor transform operator code

Refactor function `freeSeqData` so it is readable.

One strip can have multiple transform operations defined. To prevent
processing strip multiple times, build `SeqCollection` and use
sequencer iterator instead of iterating `TransData` directly.

No functional changes.

Differential Revision: https://developer.blender.org/D11618
June 21, 2021, 14:31 (GMT)
Cleanup: unused argument, function & shadow variable warning
June 21, 2021, 14:31 (GMT)
Cleanup: spelling
June 21, 2021, 14:31 (GMT)
Cleanup: split BKE_mesh_copy_settings into two functions

- BKE_mesh_copy_parameters_for_eval to be used for evaluated meshes only
as it doesn't handle ID user-counts.

- BKE_mesh_copy_parameters is a general function for copying parameters
between meshes.
June 21, 2021, 14:31 (GMT)
Cleanup: improved comment for skipping updated with zero user meshes

Noticed by @sybren D11377 review.
June 21, 2021, 14:31 (GMT)
Cleanup: rename rna_Mesh_update_data to rna_Mesh_update_data_deg_all

It's ambiguous what rna_Mesh_update_data does compared with functions
that use `rna_Mesh_update_data_*` as a prefix.

Noticed by @sybren D11377 review.
June 21, 2021, 14:31 (GMT)
Cleanup: use doxy sections for rna_mesh.c
June 21, 2021, 14:31 (GMT)
Geometry Nodes: improve node locking in evaluator

This makes the parts where a node is locked more explicit. Also, now the thread
is isolated when the node is locked. This prevents some kinds of deadlocks
(which haven't happened in practice yet).
June 21, 2021, 14:31 (GMT)
Geometry Nodes: fix ownership issue in spline to points conversion

Previously, `VArray_For_SplineToPoint` did not take ownership of the
virtual array leading to use-after-free errors.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021