Fix scene item selection not returning expected number of items

This commit is contained in:
WarmUpTill 2022-10-05 08:31:47 +02:00 committed by WarmUpTill
parent 6fff3b54e6
commit 8b8829f7df

View File

@ -160,7 +160,7 @@ SceneItemSelection::GetSceneItems(SceneSelection &sceneSelection)
}
name = var->Value();
} else {
auto name = GetWeakSourceName(_sceneItem);
name = GetWeakSourceName(_sceneItem);
}
int count = getCountOfSceneItemOccurance(sceneSelection, name, false);
auto items = getSceneItemsWithName(scene, name);