src/Screens/ModelEditorScreen.cpp
// enable all wrapping surfaces in the current model
enable all wrapping surfaces in the current model
enable all wrapping surfaces in the current model
void actionEnableAllWrappingSurfaces(MainEditorState& mes) {
        UndoableUiModel& uim = mes.editedModel;
        OpenSim::Model& m = uim.updModel();
        for (OpenSim::WrapObjectSet& wos : m.updComponentList<OpenSim::WrapObjectSet>()) {
            for (int i = 0; i < wos.getSize(); ++i) {
                OpenSim::WrapObject& wo = wos[i];
                wo.set_active(true);
                wo.upd_Appearance().set_visible(true);
            }
        }
    }
void actionEnableAllWrappingSurfaces ( MainEditorState & mes ) { UndoableUiModel & uim = mes . editedModel ; OpenSim :: Model & m = uim . updModel ( ) ; for ( OpenSim :: WrapObjectSet & wos : m . updComponentList < OpenSim :: WrapObjectSet > ( ) ) { for ( int i = 0 ; i < wos . getSize ( ) ; ++ i ) { OpenSim :: WrapObject & wo = wos [ i ] ; wo . set_active ( true ) ; wo . upd_Appearance ( ) . set_visible ( true ) ; } } }
enable all wrapping surfaces in the current model
enable all wrapping surfaces in the current model