dellepjane: fixed xml export

This commit is contained in:
Matteo Dellepiane matteodelle 2011-12-23 10:28:52 +00:00
parent 8c298b5882
commit 053bb737fa
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public:
inline OOCRaster( RasterModel *r ) :
nbBind(0),
isOOC(false),
imgFilename(QString()),
imgFilename(r->currentPlane->shortName()),
plane(r->currentPlane),
shot(r->shot),
id(r->id())

View File

@ -317,7 +317,7 @@ void FilterOutputOpticalFlowPlugin::saveXMLProject( const QString &filename,
<< std::endl;
vcg::Matrix44f rot = shot.Extrinsics.Rot();
vcg::Point3f tra = shot.Extrinsics.Tra();
vcg::Point3f tra = -shot.Extrinsics.Tra();
xmlFile << " <CamParam SimRot=\"";
for( int i=0; i<4; ++i )