Blender Git Commits

Blender Git "soc-2021-curves" branch commits.

Page: 10 / 19

June 21, 2021, 14:31 (GMT)
Cleanup: remove unused MFace custom-data utilities

Remove:

- BKE_mesh_loops_to_mface_corners
- BKE_mesh_tangent_loops_to_tessdata
June 21, 2021, 14:31 (GMT)
Fix T88605: Alembic import crashes when missing `arbGeomParams`

Add check for the `arbGeomParams` property being valid, before attempting
to access a sub-property from it.
June 21, 2021, 14:31 (GMT)
Fluid: Optimization for FLIP neighbor search radius

Contributed by @erik85 in D11400. The idea from this patch was placed in
a more generic context: A new FOR macro has been added that loops
over the neighbors of a cell within a given radius.
June 21, 2021, 14:31 (GMT)
Cleanup: clang format
June 21, 2021, 14:31 (GMT)
Performance: Limit recounting during selection mode flushing.

This patch ensures that selection mode flushing updates total selection
counts internally. This reduces recounting when we are sure that the
input total selection counts were up to date.

For example for circle selection the total selection counts were
correct. But during flushing the selection could have been changed and
therefore the selection was always recounted.

This increased the performance on selected system from 6.90 FPS to 8.25
FPS during circle selection operations.

Before: {F10179981}
After: {F10179982}

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11647
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)
Cleanup: clang-tidy
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)
Cleanup: replace 'unsigned in' with 'uint'
June 21, 2021, 14:31 (GMT)
Cleanup: use standard identifier for uint64_t string formatting
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 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)
CMake: remove workaround for version that's no longer supported
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 undefs from previous commit
June 21, 2021, 14:31 (GMT)
Fix T89234: Gpencil Separate doesn't copy settings in Stroke/Point mode

Some values were not copied from the old layer to the new one as Tint or Opacity factor.

The error affected to Strokes and Point mode
June 21, 2021, 14:31 (GMT)
Cleanup: spelling
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: use doxy sections for rna_mesh.c
June 21, 2021, 14:31 (GMT)
Geometry Nodes: support minimum twist normal mode

The minimum twist mode is important because it allows creating
normals without sudden changes in direction. The disadvantage
of minimum twist normals is that the normals depend on all control
points. So changing one control point can change the normals
everywhere. The computed normals do not match the existing
code exactly, although they do match quite well on non-cyclic and
on some cyclic curves. I also noticed that the existing implementation
has some fairly simple failure cases that I haven't found in the new
implementation so far.

Differential Revision: https://developer.blender.org/D11621
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021