+ handle case if each face has its own color and a face has no triangles
+ do not write out fields of SoFCUnifiedSelection node + show wait cursor when importing parts git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5406 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -169,6 +169,20 @@ const char* SoFCUnifiedSelection::getFileFormatName(void) const
|
||||
return "Separator";
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
int SoFCUnifiedSelection::getPriority(const SoPickedPoint* p)
|
||||
{
|
||||
const SoDetail* detail = p->getDetail();
|
||||
|
||||
Reference in New Issue
Block a user