Hi,
In my generator object, I do the same that probably everyone does:
BaseObject* MyObject::GetVirtualObjects(BaseObject* op, HierarchyHelp* hh)
{
Bool isDirty = op->CheckCache(hh);
if (!isDirty)
return op->GetCache(hh);
// ...and more code.
}
This works just fine, as it has been for years.
Just now I noticed that op->CheckCache(hh)
returns true
when I use the "O" key (Frame Selected Objects) or the "H" key (Frame Geometry). This always happens, whether my object is currently selected in the Object Manager or not.
Why? And is there a way to avoid this? I don't see any need to rebuild my object's cache, just because the user zooms on any object in the scene.
Thanks in advance for any info!
Cheers,
Frank