diff --git a/.gitattributes b/.gitattributes index 733d737183d..853e69e585f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -25,7 +25,6 @@ en.po text linguist-generated=false *.zip filter=lfs diff=lfs merge=lfs -text *.dae filter=lfs diff=lfs merge=lfs -text *.blend filter=lfs diff=lfs merge=lfs -text -*.gltf filter=lfs diff=lfs merge=lfs -text *.glb filter=lfs diff=lfs merge=lfs -text *.bin filter=lfs diff=lfs merge=lfs -text *.fbx filter=lfs diff=lfs merge=lfs -text diff --git a/RevolutionaryGamesCommon b/RevolutionaryGamesCommon index b3b0692ddaa..74bf7618a98 160000 --- a/RevolutionaryGamesCommon +++ b/RevolutionaryGamesCommon @@ -1 +1 @@ -Subproject commit b3b0692ddaa99a2084218c5598bce3cd37a6fa65 +Subproject commit 74bf7618a9820cd1818b14aaa13bd0dd3b62dd56 diff --git a/Scripts/CodeChecks.cs b/Scripts/CodeChecks.cs index e0ed5f64ecd..82b6213d56f 100644 --- a/Scripts/CodeChecks.cs +++ b/Scripts/CodeChecks.cs @@ -29,7 +29,13 @@ public CodeChecks(Program.CheckOptions opts, }, new BomChecker(BomChecker.Mode.Disallowed, FilesNotAllowedToHaveBom), new CfgCheck(AssemblyInfoReader.ReadVersionFromAssemblyInfo()), - new DisallowedFileType(".gd", ".mo")) + new DisallowedFileType(".gd", ".mo", ".gltf") + { + ExtraErrorMessages = + { + { ".gltf", "glTF files should be compressed into .glb files to save space" }, + }, + }) }, { "compile", new CompileCheck() }, { "inspectcode", new InspectCode() },