Changeset - 304874a34934
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-16 18:44:45
drewp@bigasterisk.com
support dropping an effect "uri" into the curve area
Ignore-this: 6c50a98847311607d7a87ede16b0543f
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -134,6 +134,9 @@ class Main(object):
 
                    tripleFilter=(subUri, RDFS.label, None)) as current:
 
                subName = current.label(subUri)
 

	
 
            if '?' in subUri:
 
                subName = self.handleSubtermDrop(subUri)
 
            else:
 
            try:
 
                self.makeSubterm(subName, withCurve=True,
 
                                 sub=subUri,
 
@@ -169,6 +172,7 @@ class Main(object):
 
        for cmd, name in params:
 
            if cmd == 'curve':
 
                self.curveset.new_curve(name)
 
        return name
 

	
 
    def onNewCurve(self, *args):
 
        dialog = self.wtree.get_object("newCurve")
0 comments (0 inline, 0 general)