Skip to content
Permalink
Browse files

Camera propagation in Render function, which otherwise causes silent …

…exceptions
  • Loading branch information
straubar committed Nov 26, 2019
1 parent 747c6f5 commit 52d7a43749dbee5f8343ac95f9c944fa2c9cacfa
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/view/BoundingBoxRenderer.cpp
@@ -197,6 +197,9 @@ bool BoundingBoxRenderer::Render(CallRender3D_2& call) {
"The BoundingBoxRenderer does not work without a renderer attached to its right");
return false;
}
*chainedCall = call;
bool retVal = (*chainedCall)(view::AbstractCallRender::FnGetExtents);
call = *chainedCall;

Camera_2 cam;
call.GetCamera(cam);

0 comments on commit 52d7a43

Please sign in to comment.
You can’t perform that action at this time.