Skip to content

Make the trace line persistent - #2173

Merged
Matt Brown (msb336) merged 1 commit into
microsoft:masterfrom
songxiaocheng:sxc/bug_fixes/traceline
Sep 17, 2019
Merged

Make the trace line persistent#2173
Matt Brown (msb336) merged 1 commit into
microsoft:masterfrom
songxiaocheng:sxc/bug_fixes/traceline

Conversation

@songxiaocheng

@songxiaocheng Xiaocheng Song (songxiaocheng) commented Sep 2, 2019

Copy link
Copy Markdown
Contributor

It is supposed to press "T" to toggle a persistent trace line but it is just shown as a little tail behind the drone. This commit fixes this problem.

@madratman

Copy link
Copy Markdown
Contributor

thanks for this.
I think it would be nice to have a call to FlushPersistentDebugLines as well, perhaps with another key, to clear the debug lines on demand https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h#L18

@songxiaocheng

Copy link
Copy Markdown
Contributor Author

thanks for this.
I think it would be nice to have a call to FlushPersistentDebugLines as well, perhaps with another key, to clear the debug lines on demand https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h#L18

I believe this is already implemented in the previous version here where UKismetSystemLibrary::FlushPersistentDebugLines works well which did the same thing with FlushPersistentDebugLines. Just press "T" to toggle the trace line on and off.

The DrawDebugLine was replaced by UKismetSystemLibrary::DrawDebugLine in this commit but it seems the latter function lacks a bPersistentLines option which causes the problem I mentioned above.

@msb336
Matt Brown (msb336) merged commit 4414c8e into microsoft:master Sep 17, 2019
@songxiaocheng
Xiaocheng Song (songxiaocheng) deleted the sxc/bug_fixes/traceline branch March 31, 2020 15:25
@songxiaocheng
Xiaocheng Song (songxiaocheng) restored the sxc/bug_fixes/traceline branch April 14, 2026 04:04
@songxiaocheng
Xiaocheng Song (songxiaocheng) deleted the sxc/bug_fixes/traceline branch April 14, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants