deltanedas há 3 anos atrás
pai
commit
5bad00f2d2
3 ficheiros alterados com 4 adições e 3 exclusões
  1. 1 1
      Cargo.toml
  2. 1 1
      chair_exporter.py
  3. 2 1
      src/io.rs

+ 1 - 1
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "chair"
-version = "0.2.1"
+version = "0.2.2"
 edition = "2021"
 description = "An efficient binary mesh format which is both small and extremely fast to read."
 readme = "README.md"

+ 1 - 1
chair_exporter.py

@@ -7,7 +7,7 @@ bl_info = {
 	"blender": (3, 0, 0),
 	"location": "File > Import-Export > Chair Mesh (.chr)",
 	# Same as the crate version
-	"version": (0, 2, 1),
+	"version": (0, 2, 2),
 	"category": "Import-Export"
 }
 

+ 2 - 1
src/io.rs

@@ -1,9 +1,10 @@
 use crate::{
 	atlas::*,
 	features::*,
-	mesh::*,
 	vertex::*
 };
+#[cfg(feature = "mesh")]
+use crate::mesh::*;
 
 use std::io::{Cursor, Read};