Skip to content

Commit

Permalink
fixed merge conflict in world.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
JenniferBuehler committed Jun 28, 2016
2 parents cfb0fe7 + aaf8753 commit d3439b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/graspitCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ GraspitCore::GraspitCore(int argc, char **argv):
++errorFlag;
}
else{
mainWindow->mUI->worldBox->setTitle(filename);
if(!headless)
{
mainWindow->mUI->worldBox->setTitle(filename);
}
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,9 +861,10 @@ World::save(const QString &filename)
}
}
}
stream<<"\t<camera>"<<endl;
float px, py, pz, q1, q2, q3, q4, fd;

stream<<"\t<camera>"<<endl;
if (myIVmgr) {
float px, py, pz, q1, q2, q3, q4, fd;
myIVmgr->getCamera(px, py, pz, q1, q2, q3, q4, fd);
stream<<"\t\t<position>"<<px<<" "<<py<<" "<<pz<<"</position>"<<endl;
stream<<"\t\t<orientation>"<<q1<<" "<<q2<<" "<<q3<<" "<<q4<<"</orientation>"<<endl;
Expand Down

0 comments on commit d3439b3

Please sign in to comment.