Skip to content

Commit

Permalink
Adjust material valid check
Browse files Browse the repository at this point in the history
  • Loading branch information
KillzXGaming committed Oct 12, 2024
1 parent e5c1680 commit 73fab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/CafeLibrary/Bfres/Editing/Nodes/ModelWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ public string ShaderModel
/// Checks if the material is valid or not.
/// Determines based on having empty render data or not.
/// </summary>
public bool IsMaterialInvalid => Material != null && Material.RenderInfos.Count == 0 && Material.ShaderAssign != null;
public bool IsMaterialInvalid = true;

public string ShaderArchiveName { get; set; }
public string ShaderModelName { get; set; }
Expand Down

0 comments on commit 73fab4f

Please sign in to comment.