PoseList: fix an assertion failure
This commit is contained in:
parent
ea8b1e14f9
commit
7d460e3bb9
@ -127,13 +127,16 @@ PoseList::FindAllPoses(const node_ref *node) const
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!model->IsSymLink())
|
||||
continue;
|
||||
|
||||
model = model->LinkTo();
|
||||
if (model && *model->NodeRef() == *node) {
|
||||
result->AddItem(pose);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!model && pose->TargetModel()->IsSymLink()) {
|
||||
if (!model) {
|
||||
model = new Model(pose->TargetModel()->EntryRef(), true);
|
||||
if (*model->NodeRef() == *node)
|
||||
result->AddItem(pose);
|
||||
|
Loading…
Reference in New Issue
Block a user