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 278202eb6f
commit 8b32ea8dab
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);