diff --git a/build.rs b/build.rs index c8671f8..eb08d67 100644 --- a/build.rs +++ b/build.rs @@ -21,6 +21,8 @@ fn main() -> std::io::Result<()> { let file = File::create("src/data/scenes.in"); if let Ok(mut file) = file { + write!(&file, "// THIS FILE IS AUTOGENERATED BY build.rs BASED ON DATA IN src/blender/scene_*.blend FILES!\n")?; + write!(&file, "// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN!\n")?; write!(&file, "[\n")?; extract_scene(&mut file, "test", "src/blender/scene_test.blend")?; extract_scene(&mut file, "workshop", "src/blender/scene_workshop.blend")?; diff --git a/src/data/scenes.in b/src/data/scenes.in index a347f2a..7ca84bf 100644 --- a/src/data/scenes.in +++ b/src/data/scenes.in @@ -1,3 +1,5 @@ +// THIS FILE IS AUTOGENERATED BY build.rs BASED ON DATA IN src/blender/scene_*.blend FILES! +// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN! [ ("test", "cruiser", [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]), ("workshop", "shippingcontainer", [0.0, 0.0, 0.0], [-0.026294278, 0.000376441, 0.014312184]),