Changeset - d3dd982c3e32
[Not reviewed]
default
0 2 0
Drew Perttula - 13 years ago 2012-06-12 06:10:48
drewp@bigasterisk.com
sort music to top
Ignore-this: 42b7aab7af54bab52d8c8b7b72d8ff72
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/curvecalc/curve.py
Show inline comments
 
@@ -132,13 +132,13 @@ class Curveset(object):
 
            self.sliderSuppressOutputUntil = {} # num : time
 
            self.sliderIgnoreInputUntil = {}
 
        else:
 
            self.sliders = None
 

	
 
    def sorter(self, name):
 
        return not name.endswith('music'), name
 
        return (not name in ['music', 'smooth_music'], name)
 

	
 
    def load(self,basename, skipMusic=False):
 
        """find all files that look like basename-curvename and add
 
        curves with their contents
 

	
 
        This fires 'add_curve' dispatcher events to announce the new curves.
light9/curvecalc/curveview.py
Show inline comments
 
@@ -746,13 +746,13 @@ class Curvesetview(object):
 
        self.curveset.new_curve(self.newcurvename.get())
 
        self.newcurvename.set('')
 
        
 
    def add_curve(self, name, slider=None, knobEnabled=False):
 
        curve = self.curveset.curves[name]
 
        f = CurveRow(name, curve, slider, knobEnabled, self.zoomControl)
 
        self.curvesVBox.pack_end(f.box)
 
        self.curvesVBox.pack_start(f.box)
 
        f.box.show_all()
 
        self.allCurveRows.add(f)
 
        f.curveView.goLive()
 

	
 
    def row(self, name):
 
        return [r for r in self.allCurveRows if r.name == name][0]
0 comments (0 inline, 0 general)