Repeatedly calling rendering::sceneFromFirstRenderEngine
loads the engine plugin every time
#959
Labels
bug
Something isn't working
Environment
Description
rendering::sceneFromFirstRenderEngine
should load the engine plugin only the first time it's called.RenderEngineManager::Engine
tries to look up the engine by its name.gz-rendering/src/RenderEngineManager.cc
Line 553 in dad0364
and
gz-rendering/src/RenderEngineManager.cc
Lines 211 to 215 in dad0364
Steps to reproduce
The easiest way to see this to run a gz-sim plugin that calls
rendering::sceneFromFirstRenderEngine
on everyOnRender
callback.gz sim -s -r -v3 --iterations 50 model_photo_shoot.sdf
This will repeatedly print
The text was updated successfully, but these errors were encountered: