Skip to content

Commit

Permalink
Fix looking up camera name in camera lens system
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Aug 30, 2024
1 parent 1d6651d commit 6389e57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/systems/lens_flare/LensFlare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ void LensFlare::Configure(
}

// Get Camera Name
this->dataPtr->cameraName = scopedName(this->dataPtr->entity,
_ecm, "::", false);
this->dataPtr->cameraName =
removeParentScope(scopedName(this->dataPtr->entity,
_ecm, "::", false), "::");

// call function that connects to post render event
this->dataPtr->postRenderConn =
Expand Down

0 comments on commit 6389e57

Please sign in to comment.