after-graph-view-change in two plugins?

I have 2 separate python plugins that I want to respond to "after-graph-view-change".  It looks like just the first one fires.. is there a way to pass the event along so another plugin can respond as well? Or would I have to combine the two plugins into one source file?



댓글 2개

  • 0
    Robyn Rindge

    I don't know if this will help, but I always put an "event.reject()" at the beginning of any event handling method to let others see it (unless I want to explicitly swallow it) Something like:


    def myMethod(self, event):
        # make sure other folks get this event also

        # rest of myMethod...


  • 0
    Daniel Kramer

    That worked perfectly! 

    Thanks Robyn


댓글을 남기려면 로그인하세요.