mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Metal-RT implementation for curve intersect has an additional self intersection check happening in curve_ribbon_accept(). It is done for all curve types that has PRIMITIVE_CURVE_RIBBON bit set on them, including Thick Linear curves. However, the logic in the function is hardcoded to handle flat ribbon curves with the Catmull Rom basis. This change makes it so curve_ribbon_accept() is only called for the ribbon curve type, not when type has ribbon bit set. Additionally, other places where curve type was checked as a bitmask were fixed. Ref #146072 Pull Request: https://projects.blender.org/blender/blender/pulls/146140 |
||
|---|---|---|
| .. | ||
| bvh.h | ||
| compat.h | ||
| context_begin.h | ||
| context_end.h | ||
| function_constants.h | ||
| globals.h | ||
| kernel.metal | ||