From f1268d9e2a200e4c2273630ef9ce0b2211584a44 Mon Sep 17 00:00:00 2001 From: Patrick Lacasse Date: Tue, 28 Nov 2017 17:55:06 -0500 Subject: [PATCH] Close technique_common in and adjust indentation. --- io_scene_dae/export_dae.py | 47 +++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/io_scene_dae/export_dae.py b/io_scene_dae/export_dae.py index 288e775..d608f97 100644 --- a/io_scene_dae/export_dae.py +++ b/io_scene_dae/export_dae.py @@ -1309,12 +1309,13 @@ class DaeExporter: splineid, len(points), position_values)) self.writel(S_GEOM, 4, "") self.writel( - S_GEOM, 4, "".format(splineid, len(points) / 3)) - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 4, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 5, "") + self.writel(S_GEOM, 4, "") self.writel(S_GEOM, 3, "") self.writel( @@ -1328,12 +1329,13 @@ class DaeExporter: splineid, len(points), intangent_values)) self.writel(S_GEOM, 4, "") self.writel( - S_GEOM, 4, "".format(splineid, len(points) / 3)) - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 4, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 5, "") + self.writel(S_GEOM, 4, "") self.writel(S_GEOM, 3, "") self.writel(S_GEOM, 3, "".format( @@ -1347,12 +1349,13 @@ class DaeExporter: splineid, len(points), outtangent_values)) self.writel(S_GEOM, 4, "") self.writel( - S_GEOM, 4, "".format(splineid, len(points) / 3)) - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 4, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 5, "") + self.writel(S_GEOM, 4, "") self.writel(S_GEOM, 3, "") self.writel( @@ -1366,10 +1369,11 @@ class DaeExporter: .format(splineid, len(interps), interpolation_values)) self.writel(S_GEOM, 4, "") self.writel( - S_GEOM, 4, "".format(splineid, len(interps))) - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 4, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 5, "") + self.writel(S_GEOM, 4, "") self.writel(S_GEOM, 3, "") self.writel(S_GEOM, 3, "".format(splineid)) @@ -1382,10 +1386,11 @@ class DaeExporter: .format(splineid, len(tilts), tilt_values)) self.writel(S_GEOM, 4, "") self.writel( - S_GEOM, 4, "".format(splineid, len(tilts))) - self.writel(S_GEOM, 5, "") - self.writel(S_GEOM, 4, "") + self.writel(S_GEOM, 6, "") + self.writel(S_GEOM, 5, "") + self.writel(S_GEOM, 4, "") self.writel(S_GEOM, 3, "") self.writel(S_GEOM, 3, "")