docs: anonymise project asset names in source comments
Measured figures are kept; only the studio-specific level and asset names are generalised, and the Perforce rationale is reworded to describe the class of setups rather than this one project. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -11,8 +11,8 @@ UAssetUsageAuditSettings::UAssetUsageAuditSettings()
|
||||
// third-party, so leaving these in makes the first run unreadable for an artist looking for
|
||||
// their own content.
|
||||
//
|
||||
// Deliberately NOT excluded, despite being a bought pack: Content/MenuSystemPro. It supplies
|
||||
// BP_MenuSystemGameInstance, which DefaultEngine.ini names as the project's GameInstance.
|
||||
// Deliberately NOT excluded, despite being a bought pack: Content/a purchased UI pack. It supplies
|
||||
// BP_MenuGameInstance, which DefaultEngine.ini names as the project's GameInstance.
|
||||
// Excluding it would hide a load-bearing asset from every report.
|
||||
ExcludedPackagePaths = {
|
||||
TEXT("Content/3rdParty"),
|
||||
|
||||
@@ -178,7 +178,7 @@ public:
|
||||
return SNew(STextBlock)
|
||||
.Text(LOCTEXT("ReadOnly", "read-only on disk"))
|
||||
.ColorAndOpacity(FSlateColor(CautionColor))
|
||||
.ToolTipText(LOCTEXT("ReadOnlyTip", "The file is not writable. This project is Perforce-primary, so an unopened file is read-only and the delete will fail on it. Check it out first."));
|
||||
.ToolTipText(LOCTEXT("ReadOnlyTip", "The file is not writable. Perforce-primary projects keep unopened files read-only, so an unopened file is read-only and the delete will fail on it. Check it out first."));
|
||||
}
|
||||
|
||||
return SNew(STextBlock)
|
||||
|
||||
@@ -375,7 +375,7 @@ void SAssetUsageAuditPanel::Construct(const FArguments& InArgs)
|
||||
}
|
||||
|
||||
// Name the level when there is one, count them when there are several:
|
||||
// a button reading "WP_Main" is worth more than one reading "1 level".
|
||||
// a button reading "WP_Example" is worth more than one reading "1 level".
|
||||
if (LevelFilters.Num() == 1)
|
||||
{
|
||||
return FText::FromString(FPackageName::GetShortName(*LevelFilters.CreateConstIterator()));
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
/**
|
||||
* Run a full audit and write JSON + CSV reports.
|
||||
*
|
||||
* @param LevelPackageNames Levels to analyse, e.g. "/Game/Space/Maps/WP_Main". Empty means all.
|
||||
* @param LevelPackageNames Levels to analyse, e.g. "/Game/Maps/WP_Example". Empty means all.
|
||||
* @param OutputDirectory Destination. Empty uses the configured default.
|
||||
* @param OutReportPath Absolute path of the JSON report on success.
|
||||
* @return true when both reports were written.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/**
|
||||
* Team-shared configuration, written to Config/DefaultEditor.ini.
|
||||
*
|
||||
* That file is Perforce-tracked (only Plugins/** is p4-ignored), so the exclusion list and the
|
||||
* That file is normally under version control, so the exclusion list and the
|
||||
* type presets are reviewable and shared. Per-user state - last filter, column layout - belongs
|
||||
* in UAssetUsageAuditUserSettings instead, which stays in Saved/Config.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user