Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Sep 20, 2024
1 parent 6df5efa commit d1d4dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fast64_internal/f3d/glTF/f3d_gltf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import copy
from dataclasses import dataclass
from math import ceil, floor
import bpy
Expand Down Expand Up @@ -1407,7 +1408,7 @@ def post__gather_colors(results, blender_primitive, _export_settings):
colors = attributes.get("FAST64_COLOR", None)
if colors is not None:
# Rename other attributes
for attr_name, values in attributes.items():
for attr_name, values in copy.copy(attributes).items():
if attr_name.startswith("COLOR_"):
num = int(attr_name.lstrip("COLOR_"))
attributes.pop(attr_name)
Expand Down

0 comments on commit d1d4dc7

Please sign in to comment.