add autogeneration warning to src/data/scenes.in
This commit is contained in:
parent
9d0fa985eb
commit
0af4b7dab9
2
build.rs
2
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")?;
|
||||
|
|
|
@ -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]),
|
||||
|
|
Loading…
Reference in a new issue