Skip to content
  • Daan Vreeken's avatar
    Fix error reporting when connecting inputs/outputs of differt types together. · 3b95f7cc
    Daan Vreeken authored
    Untill now, connecting e.g. a 'bool' output to a 'float' input would give:
    
     ERROR: Input terminal x.y not found
    
    .. although both the input and the output existed.
    With this commit, the error will read :
    
     ERROR: Type mismatch. Can't connect output terminal a.b (of type 'bool') to
     input terminal x.y (of type 'float')
    
    	modified:   controller/controller_block.c
    	modified:   controller/controller_block.h
    3b95f7cc