Changeset 27:a16bfff128f9 in finroc_plugins_network_transport


Ignore:
Timestamp:
08.06.2017 02:42:02 (20 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes serialization of dynamically created non-port framework element info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic_protocol/tLocalRuntimeInfo.cpp

    r19 r27  
    122122  { 
    123123    tStructureCreatedMessage::Serialize(false, true, stream, local_handle); 
    124     stream << info.static_info << info.dynamic_info; 
     124    stream << info.static_info; 
     125    if (info.static_info.IsDataPort()) 
     126    { 
     127      stream << info.dynamic_info; 
     128    } 
    125129    tStructureCreatedMessage::FinishMessage(stream); 
    126130  } 
Note: See TracChangeset for help on using the changeset viewer.