I’m hunting down components that might trigger a recompute of my script after I change a layer’s visibility. The layer I’m toggling on or off is not in use and shouldn’t affect my script either way. I have already checked all Model Object and Model Layer components, which have a visibility output and hid those. I don’t use any visibility outputs here.
Normally Grasshopper shouldn’t be recomputing the script on a visibility change, so I’m not quite sure which other components I may need to check. As I said, I don’t use any components that check for layer visibility only some Custom Preview and related components from Human. After disabling all of those, the problem still persists, however.
Ah, makes sense. I only have one of those in this script all the way at the start. In another I have multiple and it blinks way more when toggling layers or doing something that triggers a recompute (a bake).