Mercurial > hg > orthanc-stone
changeset 1326:55166e57a77c broker
doc
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 24 Mar 2020 21:32:35 +0100 |
parents | be17fed8c7c5 |
children | 4f8db2d202c8 |
files | Framework/Scene2D/Internals/CompositorHelper.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Scene2D/Internals/CompositorHelper.cpp Tue Mar 24 20:34:28 2020 +0100 +++ b/Framework/Scene2D/Internals/CompositorHelper.cpp Tue Mar 24 21:32:35 2020 +0100 @@ -104,6 +104,8 @@ content_.erase(found); } + // the returned renderer can be NULL in case of an unknown layer + // or a NullLayer std::unique_ptr<ILayerRenderer> renderer(factory_.Create(layer)); if (renderer.get() != NULL)