def __init__(self, mv):
if mv.__class__==Vertex:
self._mvert = mv._mvert
+ self.co = mv.co
self.normal = mv.normal
self.uvs = mv.uvs[:]
self.tan = mv.tan
self.group_weight_scale = mv.group_weight_scale
else:
self._mvert = mv
+ self.co = mv.co
+ self.normal = mv.normal
self.uvs = []
self.tan = None
self.bino = None
def __getattr__(self, attr):
return getattr(self._mesh, attr)
+ def transform(self, matrix):
+ for v in self.vertices:
+ v.co = matrix*v.co
+
def splice(self, other):
material_map = []
for m in other.materials: