mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
fix PropertyMap::exposeTo: use other_name as new name for property (#40)
This commit is contained in:
parent
124979e2a8
commit
a82a48bb70
@ -140,7 +140,7 @@ void PropertyMap::exposeTo(PropertyMap& other, const std::set<std::string> &prop
|
||||
void PropertyMap::exposeTo(PropertyMap& other, const std::string& name, const std::string& other_name)
|
||||
{
|
||||
const Property& p = property(name);
|
||||
other.declare(name, p.type_index_, p.description_, p.default_, p.serialize_);
|
||||
other.declare(other_name, p.type_index_, p.description_, p.default_, p.serialize_);
|
||||
}
|
||||
|
||||
void PropertyMap::configureInitFrom(Property::SourceId source, const std::set<std::string> &properties)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user