MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / pythonClearScene

Function pythonClearScene

source/mrviewerpy/MRPythonScene.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void pythonClearScene()
121{
122 MR::CommandLoop::runCommandFromGUIThread( [] ()
123 {
124 MR::SceneRoot::get().removeAllChildren();
125 } );
126}
127
128template <typename ObjectType, typename ModelType, auto SetterFunc, typename ...P>
129void pythonAddModelToScene( const ModelType& model, const std::string& name, P&&... params )

Callers

nothing calls this directly

Calls 2

removeAllChildrenMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected