Page MenuHome

Fix T86875: Crash with "Show on Cage" for geometry nodes mesh primitives
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Mar 24 2021, 3:13 PM.

Details

Summary

Without calc_object_remap turned off in the conversion to and from
BMesh for the primitive nodes, the CD_ORIGINDEX custom data layer
has incorrect values. By using a different function to do the conversions,
we can avoid this problem.

Thanks to Jacques for finding the fix here.

Diff Detail

Repository
rB Blender
Branch
fix-primitives-show-on-cage (branched from master)
Build Status
Buildable 13703
Build 13703: arc lint + arc unit

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Mar 24 2021, 3:13 PM
Hans Goudey (HooglyBoogly) created this revision.
Hans Goudey (HooglyBoogly) retitled this revision from Crash with "Show on Cage" for geometry nodes mesh primitives to Fix T86875: Crash with "Show on Cage" for geometry nodes mesh primitives.Mar 24 2021, 3:13 PM
Hans Goudey (HooglyBoogly) edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 24 2021, 3:33 PM