Skip to content

Commit

Permalink
remove dbgs
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Reif authored and jakobhellermann committed Oct 10, 2023
1 parent b63bcc0 commit 8bf0a63
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/bevy-inspector-egui/src/reflect_inspector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,13 +683,11 @@ impl InspectorUi<'_, '_> {
let Some(TypeInfo::List(info)) = list.get_represented_type_info() else {
continue;
};
dbg!(info);
match op {
AddElement(i) => {
let default = self
.get_default_value_for(info.item_type_id())
.or_else(|| list.get(i).map(Reflect::clone_value));
dbg!(&default);
if let Some(new_value) = default {
list.insert(i, new_value);
} else {
Expand Down

0 comments on commit 8bf0a63

Please sign in to comment.