Run writeTransform on each node, not on the node set itself.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4030 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-04-18 18:30:46 +00:00
parent efefdaa312
commit f5161d833c
+3 -1
View File
@@ -50,7 +50,9 @@ macroScript TRAnimationExporter category:"File" \
-- Writes a single animation frame
fn writeFrame nodes outFile = (
format " <frame>\n" to:outFile
writeTransform node outFile
for node in nodes do (
writeTransform node outFile
)
format " </frame>\n\n" to:outFile
)