mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-13 21:11:26 -07:00
Add target acquisition in the sample
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "CogDebugLogCategoryDetails.h"
|
||||
|
||||
#include "CogDebugLogCategory.h"
|
||||
#include "CogDebugLogCategoryManager.h"
|
||||
#include "CogDebugLog.h"
|
||||
#include "DetailWidgetRow.h"
|
||||
#include "Editor.h"
|
||||
#include "IPropertyUtilities.h"
|
||||
@@ -27,7 +27,7 @@ void FCogLogCategoryDetails::CustomizeHeader(TSharedRef<IPropertyHandle> StructP
|
||||
|
||||
PropertyOptions.Empty();
|
||||
PropertyOptions.Add(MakeShareable(new FString("None")));
|
||||
for (auto& Entry : FCogDebugLogCategoryManager::GetLogCategories())
|
||||
for (auto& Entry : FCogDebugLog::GetLogCategories())
|
||||
{
|
||||
PropertyOptions.Add(MakeShareable(new FString(Entry.Value.LogCategory->GetCategoryName().ToString())));
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ TSharedPtr<FLogCategoryViewerNode> SLogCategoryListWidget::UpdatePropertyOptions
|
||||
PropertyOptions.Add(InitiallySelected);
|
||||
|
||||
// Gather all ULogCategory classes
|
||||
for (auto& Entry : FCogDebugLogCategoryManager::GetLogCategories())
|
||||
for (auto& Entry : FCogDebugLog::GetLogCategories())
|
||||
{
|
||||
// if we have a search string and this doesn't match, don't show it
|
||||
if (LogCategoryTextFilter.IsValid() && !LogCategoryTextFilter->PassesFilter(Entry.Value.LogCategory->GetCategoryName()))
|
||||
|
||||
Reference in New Issue
Block a user