GuiPy: [skip ci] expose function to Python to replace Switch with Separator nodes

This commit is contained in:
wmayer
2020-06-20 12:22:24 +02:00
parent 0d05fc328d
commit 87046ef045
3 changed files with 50 additions and 0 deletions

View File

@@ -295,6 +295,11 @@ SoNode* replaceSwitchesInSceneGraph(SoNode* node)
return node;
}
SoNode* Gui::SoFCDB::replaceSwitches(SoNode* node)
{
return replaceSwitchesInSceneGraph(node);
}
bool Gui::SoFCDB::writeToVRML(SoNode* node, const char* filename, bool binary)
{
SoNode* noSwitches = replaceSwitchesInSceneGraph(node);