mirror of
https://github.com/demostf/cutter.git
synced 2026-06-03 11:54:08 +02:00
update to upstream
This commit is contained in:
parent
d8e8cd2a98
commit
73a6e326ce
3 changed files with 5 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@ pkg/
|
||||||
wasm-pack.log
|
wasm-pack.log
|
||||||
out.dem
|
out.dem
|
||||||
test_data/*
|
test_data/*
|
||||||
|
flamegraph.svg
|
||||||
|
perf.data*
|
||||||
|
|
@ -41,6 +41,7 @@ pretty_assertions = "1.2.1"
|
||||||
md5 = "0.7.0"
|
md5 = "0.7.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,6 @@ impl ActiveEntities {
|
||||||
state.instance_baselines[0]
|
state.instance_baselines[0]
|
||||||
.keys()
|
.keys()
|
||||||
.chain(state.instance_baselines[1].keys())
|
.chain(state.instance_baselines[1].keys())
|
||||||
.copied()
|
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -113,7 +112,7 @@ impl ActiveEntities {
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
for entity in self.entities.values_mut() {
|
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;
|
entity.update_type = UpdateType::Preserve;
|
||||||
} else {
|
} else {
|
||||||
entity.update_type = UpdateType::Enter;
|
entity.update_type = UpdateType::Enter;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue