- sessionfile sample fixed

- sessionpath saving restored
This commit is contained in:
jean-emmanuel 2015-09-17 18:15:41 +02:00 • committed by bordun
parent 84e7303bb7
commit d527a02e0a
2 changed files with 5 additions and 0 deletions

View file

@ -166,6 +166,7 @@ ipc.on('browseSessions',function(event, data){
var sessionlist = readConfig('recentSessions')
dialog.showOpenDialog(window,{title:'Load session file',defaultPath:readConfig('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
if (file==undefined) {return}
writeConfig({sessionPath:file[0].replace(file[0].split('/').pop(),'')})
renderProcess.send('openSession',file[0])
})
})

View file

@ -4,6 +4,10 @@ nmPorts = {
'MonitorsJeannot':'SCSon:6676',
'MonitorsORL':'SCSon:6677',
'Mains':'SCSon:6678',
}
nmRange = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
return [
{
id:'MonitorsDag',