mirror of
https://github.com/godotengine/collada-exporter.git
synced 2026-01-01 01:48:22 +03:00
Added slots for classes
This commit is contained in:
@@ -140,6 +140,9 @@ class DaeExporter:
|
||||
|
||||
return tup
|
||||
|
||||
__slots__ = ("vertex", "normal", "tangent", "bitangent", "color", "uv",
|
||||
"uv2", "bones", "weights")
|
||||
|
||||
def __init__(self):
|
||||
self.vertex = Vector((0.0, 0.0, 0.0))
|
||||
self.normal = Vector((0.0, 0.0, 0.0))
|
||||
@@ -1885,6 +1888,11 @@ class DaeExporter:
|
||||
f.write(bytes('</COLLADA>\n', "UTF-8"))
|
||||
return True
|
||||
|
||||
__slots__ = ("operator", "scene", "last_id", "scene_name", "sections",
|
||||
"path", "mesh_cache", "curve_cache", "material_cache",
|
||||
"image_cache", "skeleton_info", "config", "valid_nodes",
|
||||
"armature_for_morph", "used_bones", "wrongvtx_report")
|
||||
|
||||
def __init__(self, path, kwargs, operator):
|
||||
self.operator = operator
|
||||
self.scene = bpy.context.scene
|
||||
|
||||
Reference in New Issue
Block a user