|
|
@ -179,18 +179,12 @@ export class Batch {
|
|
|
|
|
|
|
|
|
|
|
|
for (const e of this.#render_effects) {
|
|
|
|
for (const e of this.#render_effects) {
|
|
|
|
set_signal_status(e, CLEAN);
|
|
|
|
set_signal_status(e, CLEAN);
|
|
|
|
// TODO use sets instead of arrays
|
|
|
|
batch.#render_effects.push(e);
|
|
|
|
if (!batch.#render_effects.includes(e)) {
|
|
|
|
|
|
|
|
batch.#render_effects.push(e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (const e of this.#effects) {
|
|
|
|
for (const e of this.#effects) {
|
|
|
|
set_signal_status(e, CLEAN);
|
|
|
|
set_signal_status(e, CLEAN);
|
|
|
|
// TODO use sets instead of arrays
|
|
|
|
batch.#effects.push(e);
|
|
|
|
if (!batch.#effects.includes(e)) {
|
|
|
|
|
|
|
|
batch.#effects.push(e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (const e of this.skipped_effects) {
|
|
|
|
for (const e of this.skipped_effects) {
|
|
|
|