Line 121. After 3 secs,
hili._meshes = ;
Maybe bestog will do glowLayer as well… which would be… umm…
Line 121 again… clear()
glow._includedOnlyMeshes = [null];
I dunno why that null has to be there, but it does. hmm. I think the glowLayer “updater” only triggers an update… when ._includedOnlyMeshes has .length. So the null gives length to the array… and then the 3-second-delayed glowLayer clear()… works. YAY!
Yeah, @bestog wiil install new clear() feature… on BOTH highLight and glow layers… I know he will. (ahem)
Ok, I don’t know why I butted-in, but it seems I did. I was doing some work on a glowLayer nearby, even doing some “clearing”… and I came across this thread. It was on-topic for what my brain was doing… so I decided to water your fire hydrants.
But don’t do PR’s like I code “hacks”. I’m a sloppy darkside bootleg child-with-power-tools kind of person… the kind of programmer that mothers warn their daughters-about. In other words, smashing an array with a big rock, like I did in those PG’s… that’s not necessarily good data handling. It’s like mowing the lawn with a grenade. kbye