mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 19:10:01 +02:00
Fix shadow leaking scene items
This commit is contained in:
parent
1b36d56b7a
commit
ff425f40ae
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ void PipelineSortShapes::run(const SceneContextPointer& sceneContext, const Rend
|
|||
}
|
||||
|
||||
void DepthSortShapes::run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext, const ShapesIDsBounds& inShapes, ShapesIDsBounds& outShapes) {
|
||||
outShapes.clear();
|
||||
outShapes.reserve(inShapes.size());
|
||||
|
||||
for (auto& pipeline : inShapes) {
|
||||
auto& inItems = pipeline.second;
|
||||
auto outItems = outShapes.find(pipeline.first);
|
||||
|
|
Loading…
Reference in a new issue