godot/mapping.py
def _diagram_canvas_changed(self, new):
        """ Handles the diagram canvas being set """

        logger.debug("Diagram canvas changed!")
        canvas = self.diagram_canvas

        for tool in self.tools:
            if canvas is not None:
                print "Adding tool: %s" % tool
                canvas.tools.append(tool(canvas))
def _diagram_canvas_changed(self, new):
        logger.debug("Diagram canvas changed!")
        canvas = self.diagram_canvas

        for tool in self.tools:
            if canvas is not None:
                print "Adding tool: %s" % tool
                canvas.tools.append(tool(canvas))
def _diagram_canvas_changed ( self , new ) : logger . debug ( "Diagram canvas changed!" ) canvas = self . diagram_canvas for tool in self . tools : if canvas is not None : print "Adding tool: %s" % tool canvas . tools . append ( tool ( canvas ) )
Handles the diagram canvas being set
Handles the diagram canvas being set