Commit 8f63fd0f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove debug logging

parent e70927b7
......@@ -322,16 +322,13 @@ def _terminator(ast, scene, parent, states):
# pylint: disable=E1111
parent = render(ast.label, scene=scene, parent=parent, states=states)
if ast.kind == 'next_state':
LOG.debug('ADDING NEXT_STATE ' + ast.inputString)
# Create a new state symbol
symbol = sdlSymbols.State(parent=parent, ast=ast)
# If the terminator is also a new state, render the inputs below
LOG.debug('STATELIST:' + str([st.inputString for st in states]))
for state_ast in states:
if (state_ast.inputString == ast.inputString and
state_ast.pos_x == ast.pos_x and
state_ast.pos_y == ast.pos_y):
LOG.debug('MERGING TERMINATOR "' + ast.inputString + '"')
symbol.nested_scene = state_ast.composite or \
ogAST.CompositeState()
for each in chain(state_ast.inputs, state_ast.connects):
......
......@@ -353,7 +353,6 @@ class Decision(VerticalSymbol):
def updateConnectionPointPosition(self):
''' Compute the joining point of decision branches '''
LOG.debug('UpdateConnectionPointPosition of {}'.format(unicode(self)))
new_y = 0
new_x = self.boundingRect().width() / 2.0
answers = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment