Fix release build
This commit is contained in:
parent
e9b81f8217
commit
11b613f492
1 changed files with 4 additions and 2 deletions
|
@ -69,8 +69,10 @@ impl std::fmt::Debug for EntityObject {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
let mut t = f.debug_struct("EntityObject");
|
let mut t = f.debug_struct("EntityObject");
|
||||||
|
|
||||||
t.field("debug_name", &self.debug_name)
|
#[cfg(debug_assertions)]
|
||||||
.field("gltf_file", &self.gltf_file)
|
t.field("debug_name", &self.debug_name);
|
||||||
|
|
||||||
|
t.field("gltf_file", &self.gltf_file)
|
||||||
.field("activation_state", &self.activation_state)
|
.field("activation_state", &self.activation_state)
|
||||||
.field("entity_id", &self.entity_id);
|
.field("entity_id", &self.entity_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue