Changeset - bc753db699f7
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 9 years ago 2016-06-11 21:13:46
drewp@bigasterisk.com
KC show all effects; no more :live node
Ignore-this: 200d6ebe3930e10eda390b6bf93043ca
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
bin/keyboardcomposer
Show inline comments
 
@@ -12,13 +12,13 @@ from rdflib import URIRef, Literal
 
import Tix as tk
 

	
 
from light9.Fadable import Fadable
 
from light9.subclient import SubClient
 
from light9 import showconfig, networking, prof
 
from light9.uihelpers import toplevelat
 
from light9.namespaces import L9
 
from light9.namespaces import L9, RDF
 
from light9.tkdnd import initTkdnd, dragSourceRegister, dropTargetRegister
 
from light9.rdfdb import clientsession
 
from light9.rdfdb.syncedgraph import SyncedGraph
 
import light9.effect.effecteval
 

	
 
from bcf2000 import BCF2000
 
@@ -210,13 +210,13 @@ class KeyboardComposer(tk.Frame, SubClie
 

	
 
        rowcount = -1
 
        col = 0
 
        last_group = None
 

	
 
        withgroups = []
 
        for effect in self.graph.objects(L9['live'], L9['controls']):
 
        for effect in self.graph.subjects(RDF.type, L9['Effect']):
 
            withgroups.append((
 
                self.graph.value(effect, L9['group']),
 
                self.graph.value(effect, L9['order']),
 
                self.graph.label(effect),
 
                effect))
 
        withgroups.sort()
0 comments (0 inline, 0 general)