Skip to content

Commit

Permalink
fix bDrawDebugFocusPlane error when packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alonfaraj committed Jan 23, 2023
1 parent ac1a762 commit 29161b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Unreal/Plugins/AirSim/Source/PIPCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,9 @@ void APIPCamera::setFocusAperture(float focus_aperture)

void APIPCamera::enableFocusPlane(bool enable)
{
#if WITH_EDITOR
camera_->FocusSettings.bDrawDebugFocusPlane = enable;
#endif
}

std::string APIPCamera::getCurrentFieldOfView() const
Expand Down

0 comments on commit 29161b8

Please sign in to comment.