Revert "Address the poor performance of the existing unique-name generation (#17944)"
This reverts commit 83202d8ad6.
# Conflicts:
# src/Base/Tools.cpp
# src/Base/Tools.h
This commit is contained in:
committed by
Yorik van Havre
parent
844d88fb7a
commit
a2c980f7d6
@@ -3408,16 +3408,7 @@ void ViewProviderLink::getPropertyMap(std::map<std::string,App::Property*> &Map)
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderLink::visitProperties(std::function<void(App::Property*)> visitor) const
|
||||
{
|
||||
inherited::visitProperties(visitor);
|
||||
if (childVp != nullptr) {
|
||||
childVp->visitProperties(visitor);
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderLink::getPropertyList(std::vector<App::Property*>& List) const
|
||||
{
|
||||
void ViewProviderLink::getPropertyList(std::vector<App::Property*> &List) const {
|
||||
std::map<std::string,App::Property*> Map;
|
||||
getPropertyMap(Map);
|
||||
List.reserve(List.size()+Map.size());
|
||||
|
||||
Reference in New Issue
Block a user