[Bf-committers] Collada importer/exporter kickout

Domino Marama domino at dominodesigns.info
Mon Jan 9 16:53:33 CET 2012


On Mon, 2012-01-09 at 11:07 -0300, Juan Linietsky wrote:
> 
> The exporter i submitted handles both parented objects and shared
> meshes between instances.
> If you have testcases where this doesn't work, send them over and i'll
> see what is wrong.

I've had a look at the code, and it's a simple fix.. The matrix should
come before the node..

*** export_dae_orig.py	2011-10-12 08:33:39.000000000 +0100
--- export_dae.py	2012-01-09 15:23:21.639603139 +0000
*************** class DaeExporter:
*** 755 ****
--- 756 ----
+                 self.writel(S_NODES,il,'<matrix
sid="transform">'+strmtx(node.matrix_local)+'</matrix>')
*************** class DaeExporter:
*** 759 ****
-                 self.writel(S_NODES,il,'<matrix
sid="transform">'+strmtx(node.matrix_local)+'</matrix>')
--- 759 ----

Best Wishes,
Domino





More information about the Bf-committers mailing list