Changeset 92:ee860f3b6448 in finroc_plugins_runtime_construction


Ignore:
Timestamp:
26.05.2017 20:05:13 (22 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Removes obsolete (and in some cases erroneous) setting of RECONNECT flag for connectors when loading finstructable files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tFinstructable.cpp

    r90 r92  
    418418                FINROC_LOG_PRINT(WARNING, "Cannot create connector because neither port is available: ", source_uri_parsed.path, ", ", destination_uri_parsed.path); 
    419419              } 
    420               else if (source_port == nullptr || source_port->GetFlag(tFlag::VOLATILE))    // source volatile 
     420              else if (source_port == nullptr || source_port->GetFlag(tFlag::VOLATILE)) 
    421421              { 
    422                 connect_options.flags |= core::tConnectionFlag::RECONNECT; 
    423422                destination_port->ConnectTo(path_to_this.Append(source_uri_parsed.path), connect_options); 
    424423              } 
    425               else if (destination_port == nullptr || destination_port->GetFlag(tFlag::VOLATILE))    // destination volatile 
     424              else if (destination_port == nullptr || destination_port->GetFlag(tFlag::VOLATILE)) 
    426425              { 
    427                 connect_options.flags |= core::tConnectionFlag::RECONNECT; 
    428426                source_port->ConnectTo(path_to_this.Append(destination_uri_parsed.path), connect_options); 
    429427              } 
Note: See TracChangeset for help on using the changeset viewer.