Verified Commit f3f77d3b authored by JohnMH's avatar JohnMH

Fix Instance::FindFirstAncestorWhichIsA

parent 82530221
Pipeline #2505 passed with stages
in 18 minutes and 30 seconds
......@@ -181,7 +181,7 @@ namespace OB{
return NULL;
}
shared_ptr<Instance> Instance::FindFirstChildWhichIsA(std::string className){
shared_ptr<Instance> Instance::FindFirstAncestorWhichIsA(std::string className){
if(Parent){
if(Parent->IsA(className)){
return Parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment