mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
do not serialize the data of external resources
This commit is contained in:
@@ -222,7 +222,10 @@ impl Visit for ResourceHeader {
|
||||
|
||||
self.kind.visit("Kind", &mut region)?;
|
||||
self.type_uuid.visit("TypeUuid", &mut region)?;
|
||||
self.state.visit("State", &mut region)?;
|
||||
|
||||
if self.kind == ResourceKind::Embedded {
|
||||
self.state.visit("State", &mut region)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user