소스 검색

Add Dependency to external files

Nikos Kastellanos 6 년 전
부모
커밋
b2ac7b40a6
2개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Content.Pipeline/SLMCImporter/SLMCImporter.cs
  2. BIN
      bin/Release/Windows/Aether.Content.Pipeline.SLMCImporter.dll

+ 1 - 0
Content.Pipeline/SLMCImporter/SLMCImporter.cs

@@ -97,6 +97,7 @@ namespace tainicom.Aether.Content.Pipeline
 
                 var imageSource = GetAttribute(imageNode, "source");
                 var fullImageSource = Path.Combine(Path.GetDirectoryName(filename), imageSource);
+                context.AddDependency(fullImageSource);
                 var textureContent = (Texture2DContent)txImporter.Import(fullImageSource, context);
                 textureContent.Name = Path.GetFileNameWithoutExtension(fullImageSource);
 

BIN
bin/Release/Windows/Aether.Content.Pipeline.SLMCImporter.dll