On 23/10/2017 at 22:14, xxxxxxxx wrote:
Hi Pim, thanks for writing us.
From a brief test I can't reproduce the issue you mentioned since the code below properly regenerates "new" geometry every time render/editor visibility is changed or the object is turned on/off.
def GetVirtualObjects(self, op, hh) :
if op is None or hh is None:
child = op.GetDown()
if not child:
childDirty = child.IsDirty(c4d.DIRTY_MATRIX | c4d.DIRTY_DATA | c4d.DIRTY_CACHE)
cache = op.GetCache()
if not childDirty and cache is not None:
sphere = c4d.BaseObject(c4d.Osphere)
Maybe I didn't properly get your point?