update to upstream

This commit is contained in:
Robin Appelman 2022-04-21 22:59:39 +02:00
commit 73a6e326ce
3 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View file

@ -5,4 +5,6 @@ bin/
pkg/
wasm-pack.log
out.dem
test_data/*
test_data/*
flamegraph.svg
perf.data*

View file

@ -41,6 +41,7 @@ pretty_assertions = "1.2.1"
md5 = "0.7.0"
[profile.release]
lto = true
[profile.dev.package."*"]
opt-level = 3

View file

@ -78,7 +78,6 @@ impl ActiveEntities {
state.instance_baselines[0]
.keys()
.chain(state.instance_baselines[1].keys())
.copied()
.collect()
}
@ -113,7 +112,7 @@ impl ActiveEntities {
),
];
for entity in self.entities.values_mut() {
if state.instance_baselines[0].contains_key(&entity.entity_index) {
if state.instance_baselines[0].contains(entity.entity_index) {
entity.update_type = UpdateType::Preserve;
} else {
entity.update_type = UpdateType::Enter;