Skip to content
Permalink
Browse files

[GameStudio] Fast-reloading for types such as Material and Texture we…

…re not working as expected, forcing a full model reload on every edit
  • Loading branch information
xen2 committed Mar 17, 2019
1 parent e6c7966 commit 03ebfc8c098746da5e2844f766ecaf246215d8b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/editor/Xenko.Editor/EditorGame/ContentLoader/EditorContentLoader.cs
@@ -512,7 +512,7 @@ private async void AssetPropertiesChanged(object sender, AssetChangedEventArgs e
foreach (var reference in node.References)
{
// Check if this reference is actually a compile-time dependency
if (reference.Target.AssetItem.Id == assetToProcess.Id && reference.HasOne(BuildDependencyType.CompileContent | BuildDependencyType.Runtime))
if (reference.Target.AssetItem.Id == assetToProcess.Id && reference.HasOne(BuildDependencyType.CompileContent | BuildDependencyType.CompileContent))
{
// If yes, process this asset later
if (processedAssets.Add(referencer))

0 comments on commit 03ebfc8

Please sign in to comment.
You can’t perform that action at this time.