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:
@@ -50,7 +50,9 @@ macroScript TRAnimationExporter category:"File" \
|
|||||||
-- Writes a single animation frame
|
-- Writes a single animation frame
|
||||||
fn writeFrame nodes outFile = (
|
fn writeFrame nodes outFile = (
|
||||||
format " <frame>\n" to:outFile
|
format " <frame>\n" to:outFile
|
||||||
writeTransform node outFile
|
for node in nodes do (
|
||||||
|
writeTransform node outFile
|
||||||
|
)
|
||||||
format " </frame>\n\n" to:outFile
|
format " </frame>\n\n" to:outFile
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user