diff --git a/server/TracyTimelineItem.hpp b/server/TracyTimelineItem.hpp index 655bea06..48ad6c57 100644 --- a/server/TracyTimelineItem.hpp +++ b/server/TracyTimelineItem.hpp @@ -39,12 +39,13 @@ protected: virtual bool IsEmpty() const { return false; } + bool m_visible; + bool m_showFull; + private: void AdjustThreadHeight( bool firstFrame, int oldOffset, int& offset ); float AdjustThreadPosition( float wy, int& offset ); - bool m_visible; - bool m_showFull; int m_height; int m_offset; diff --git a/server/TracyTimelineItemThread.cpp b/server/TracyTimelineItemThread.cpp index 7b515107..c100bd5c 100644 --- a/server/TracyTimelineItemThread.cpp +++ b/server/TracyTimelineItemThread.cpp @@ -16,6 +16,11 @@ TimelineItemThread::TimelineItemThread( View& view, Worker& worker, const Thread , m_thread( thread ) , m_ghost( false ) { + auto name = worker.GetThreadName( thread->id ); + if( strncmp( name, "Tracy ", 6 ) == 0 ) + { + m_showFull = false; + } } bool TimelineItemThread::IsEmpty() const