We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1d31b commit 182c6b5Copy full SHA for 182c6b5
src/Interface/Modules/Render/ES/SRInterface.cc
@@ -838,13 +838,10 @@ namespace SCIRun {
838
auto imc = mCore.getStaticComponent<ren::StaticIBOMan>();
839
if(!vmc || !imc) return;
840
841
- std::weak_ptr<ren::VBOMan> vm = vmc->instance_;
842
- std::weak_ptr<ren::IBOMan> im = imc->instance_;
843
-
844
- if (std::shared_ptr<ren::VBOMan> vboMan = vm.lock())
+ if (std::shared_ptr<ren::VBOMan> vboMan = vmc->instance_)
845
{
846
DEBUG_LOG_LINE_INFO;
847
- if (std::shared_ptr<ren::IBOMan> iboMan = im.lock())
+ if (std::shared_ptr<ren::IBOMan> iboMan = imc->instance_)
848
849
DEBUG_LOG_LINE_INFO
850
if (foundObject != mSRObjects.end())
0 commit comments