Changeset 173:7b8f89b97f73 in finroc_plugins_runtime_construction


Ignore:
Timestamp:
24.01.2022 13:46:00 (20 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Tags:
tip
Message:

Fixes issue loading parameter config entries for composite composite components in the uncommon constellation that a sub-component has the same name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tFinstructable.cpp

    r166 r173  
    892892      std::string name = it->GetStringAttribute("name"); 
    893893      core::tFrameworkElement* parameter_element = element.GetChild(name); 
    894       if (!parameter_element) 
     894      if ((!parameter_element) || (!parameter_element->IsPort())) 
    895895      { 
    896896        core::tFrameworkElement* parameters_interface = element.GetChild("Parameters"); 
Note: See TracChangeset for help on using the changeset viewer.