Page MenuHome

Fix T85889: Recursive instances result in crash.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Apr 26 2021, 1:39 PM.

Details

Summary

Generally, it would be good to not allow this from happening in the first place but that is quite tricky because an object does not know which other object instances it. Similar checks might be necessary in other places, but this fixes the bug already.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Apr 26 2021, 1:39 PM
Jacques Lucke (JacquesLucke) created this revision.
Hans Goudey (HooglyBoogly) added inline comments.
source/blender/blenkernel/intern/object_dupli.cc
96

IMO there should be a brief comment about the purpose of the stack, it's not the most obvious thing.

This revision is now accepted and ready to land.Apr 27 2021, 6:14 AM