From 68324d999c32982d7df2fda1041e5474347e1379 Mon Sep 17 00:00:00 2001 From: granzuglia Date: Thu, 27 Jul 2006 09:44:25 +0000 Subject: [PATCH] fundamental changes in order to operate with other collada's viewer --- wrap/io_trimesh/export_dae.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wrap/io_trimesh/export_dae.h b/wrap/io_trimesh/export_dae.h index 59d22532..80746165 100644 --- a/wrap/io_trimesh/export_dae.h +++ b/wrap/io_trimesh/export_dae.h @@ -9,6 +9,7 @@ #include #include #include +#include namespace vcg { namespace tri { @@ -101,6 +102,11 @@ public: } nsource->SetSourceData(nlist,3); + FCDSceneNode* root = doc->AddVisualScene(); + root->SetDaeId("vcg-scenenode"); + FCDSceneNode* scenenod = root->AddChildNode(); + scenenod->AddInstance(geo); + //root-> doc->WriteToFile(FUStringConversion::ToFString(filename)); return 0; }