+ fix build failure, fix warning
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#ifndef _PreComp_
|
||||
# include <qstatusbar.h>
|
||||
# include <qstring.h>
|
||||
# include <QGLWidget>
|
||||
# include <Inventor/details/SoFaceDetail.h>
|
||||
# include <Inventor/details/SoLineDetail.h>
|
||||
#endif
|
||||
@@ -168,16 +169,16 @@ const char* SoFCUnifiedSelection::getFileFormatName(void) const
|
||||
|
||||
void SoFCUnifiedSelection::write(SoWriteAction * action)
|
||||
{
|
||||
SoOutput * out = action->getOutput();
|
||||
if (out->getStage() == SoOutput::WRITE) {
|
||||
// Do not write out the fields of this class
|
||||
if (this->writeHeader(out, TRUE, FALSE)) return;
|
||||
SoGroup::doAction((SoAction *)action);
|
||||
this->writeFooter(out);
|
||||
}
|
||||
else {
|
||||
inherited::write(action);
|
||||
}
|
||||
SoOutput * out = action->getOutput();
|
||||
if (out->getStage() == SoOutput::WRITE) {
|
||||
// Do not write out the fields of this class
|
||||
if (this->writeHeader(out, TRUE, FALSE)) return;
|
||||
SoGroup::doAction((SoAction *)action);
|
||||
this->writeFooter(out);
|
||||
}
|
||||
else {
|
||||
inherited::write(action);
|
||||
}
|
||||
}
|
||||
|
||||
int SoFCUnifiedSelection::getPriority(const SoPickedPoint* p)
|
||||
|
||||
Reference in New Issue
Block a user