Skip to content

Commit

Permalink
Fix Lidar DrawDebugPoints causing crash (#2614)
Browse files Browse the repository at this point in the history
Make the points non-persistent and reduce Lifetime
  • Loading branch information
rajat2004 authored Apr 30, 2020
1 parent ece5061 commit 0f4b8c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Unreal/Plugins/AirSim/Source/SimMode/SimModeBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,10 +671,10 @@ void ASimModeBase::drawLidarDebugPoints()
DrawDebugPoint(
this->GetWorld(),
uu_point,
5, //size
5, // size
FColor::Green,
true, //persistent (never goes away)
0.1 //point leaves a trail on moving object
false, // persistent (never goes away)
0.03 // LifeTime: point leaves a trail on moving object
);
}
}
Expand Down

0 comments on commit 0f4b8c1

Please sign in to comment.