mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed root field name
This commit is contained in:
@@ -243,7 +243,7 @@ impl ResourceData for SurfaceData {
|
||||
|
||||
fn save(&mut self, path: &Path) -> Result<(), Box<dyn Error>> {
|
||||
let mut visitor = Visitor::new();
|
||||
self.visit("Surface", &mut visitor)?;
|
||||
self.visit("SurfaceData", &mut visitor)?;
|
||||
visitor.save_ascii_to_file(path)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user