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

Method onDisable_

source/MRViewer/MRViewerSettingsPlugin.cpp:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210bool ViewerSettingsPlugin::onDisable_()
211{
212 if ( viewer )
213 if ( const auto& mgr = viewer->getViewerSettingsManager() )
214 mgr->saveSettings( *viewer );
215 Config::instance().writeToFile();
216 userThemesPresets_.clear();
217 return true;
218}
219
220void ViewerSettingsPlugin::drawTab_( float menuWidth )
221{

Callers

nothing calls this directly

Calls 4

instanceFunction · 0.85
saveSettingsMethod · 0.80
writeToFileMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected