_maps_from_state is legal after unfreeze (restore state)
authorRobin Gareus <robin@gareus.org>
Thu, 24 Nov 2016 20:58:50 +0000 (21:58 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 24 Nov 2016 20:58:50 +0000 (21:58 +0100)
libs/ardour/plugin_insert.cc

index e0a66776ab64581e849a182c99dea32947cd0f6b..bf97a1217efe9d04ee19cc604bc8976deeae9bc3 100644 (file)
@@ -1816,11 +1816,9 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
                        && _in_map.size() == _out_map.size()
                        && _in_map.size() == get_count ()
                 ) {
                        && _in_map.size() == _out_map.size()
                        && _in_map.size() == get_count ()
                 ) {
-               assert (_maps_from_state == false);
                /* If the configuration has not changed, keep the mapping */
                mapping_changed = sanitize_maps ();
        } else if (_match.custom_cfg && _configured) {
                /* If the configuration has not changed, keep the mapping */
                mapping_changed = sanitize_maps ();
        } else if (_match.custom_cfg && _configured) {
-               assert (_maps_from_state == false);
                /* don't touch the map in manual mode */
                mapping_changed = sanitize_maps ();
        } else {
                /* don't touch the map in manual mode */
                mapping_changed = sanitize_maps ();
        } else {