Update resource validation and diagnostics filtering for foliage prototypes

This commit is contained in:
2026-05-02 03:46:59 +02:00
parent e559174bd9
commit 14d6ed11bd

View File

@@ -6934,7 +6934,7 @@ function validateProjectSequence(
function validateProjectResources( function validateProjectResources(
document: Pick< document: Pick<
ProjectDocument, ProjectDocument,
"materials" | "assets" | "sequences" | "scenes" "materials" | "assets" | "foliagePrototypes" | "sequences" | "scenes"
>, >,
context: ProjectSchedulerValidationContext, context: ProjectSchedulerValidationContext,
diagnostics: SceneDiagnostic[] diagnostics: SceneDiagnostic[]
@@ -7032,6 +7032,7 @@ function filterProjectSceneDiagnostics(
(!diagnostic.path.startsWith("materials.") && (!diagnostic.path.startsWith("materials.") &&
!diagnostic.path.startsWith("time.") && !diagnostic.path.startsWith("time.") &&
!diagnostic.path.startsWith("assets.") && !diagnostic.path.startsWith("assets.") &&
!diagnostic.path.startsWith("foliagePrototypes.") &&
!diagnostic.path.startsWith("dialogues.") && !diagnostic.path.startsWith("dialogues.") &&
!diagnostic.path.startsWith("sequences.")) !diagnostic.path.startsWith("sequences."))
); );