Skip to content

Commit

Permalink
[ME] Fix texture loading for scenes too (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiBalboa authored Aug 30, 2024
1 parent 7fabbec commit fec2d9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ public void SetMaterialTextureFromFile(int id, Material material, string propert
/// <returns>True if the value was set, false if it could not be set</returns>
private bool SetTextureWithProperty(GameObject go, MaterialTextureProperty textureProperty)
{
if (!textureProperty.TexID.HasValue || !textureProperty.NullCheck())
if (!textureProperty.TexID.HasValue || textureProperty.NullCheck())
return false;

int texID = textureProperty.TexID.Value;
Expand Down

0 comments on commit fec2d9b

Please sign in to comment.