diff --git a/src/maps.luau b/src/maps.luau index 0f95695..2150939 100644 --- a/src/maps.luau +++ b/src/maps.luau @@ -86,7 +86,7 @@ local function indexes(input: () -> Map, transform: (() -> VI, output_cache[i] = result else -- update source input_nodes[i].cache = v - update_descendants(input_nodes[i]) + update_descendants(input_nodes[i], true) end end end @@ -170,7 +170,7 @@ local function values(input: () -> Map, transform: (VI, () -> else -- update source if cv ~= i then input_nodes[v].cache = i - update_descendants(input_nodes[v]) + update_descendants(input_nodes[v], true) end cur_input_cache[v] = nil diff --git a/src/spring.luau b/src/spring.luau index aaf6789..936a18f 100644 --- a/src/spring.luau +++ b/src/spring.luau @@ -285,7 +285,7 @@ local function update_spring_sources() output.cache = vec6_to_type[typeof(data.source_value)](x0_123, x0_456) end - update_descendants(output) + update_descendants(output, true) end end