Browse Source

Merge branch 'master' of https://git.coder.horse/meidomustard/modifiedMM into master

habeebweeb 3 years ago
parent
commit
f8663e75dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      MultipleMaids/ImportCM2.cs

+ 2 - 2
MultipleMaids/ImportCM2.cs

@@ -294,7 +294,7 @@ public class ImportCM2 : MonoBehaviour
                                 var texture2D = new Texture2D(1, 1, TextureFormat.RGBA32, false);
                                 texture2D.LoadImage(data);
                                 texture2D.name = str8;
-                                texture2D.wrapMode = TextureWrapMode.Clamp;
+                                texture2D.wrapMode = TextureWrapMode.Repeat;
                                 material.SetTexture(name, texture2D);
                                 material.SetTextureOffset(name, vector2_1);
                                 material.SetTextureScale(name, vector2_2);
@@ -403,7 +403,7 @@ public class ImportCM2 : MonoBehaviour
                                 var texture2D = new Texture2D(1, 1, TextureFormat.RGBA32, false);
                                 texture2D.LoadImage(data);
                                 texture2D.name = str11;
-                                texture2D.wrapMode = TextureWrapMode.Clamp;
+                                texture2D.wrapMode = TextureWrapMode.Repeat;
                                 material.SetTexture(name, texture2D);
                                 vector2_1.x = r.ReadSingle();
                                 vector2_1.y = r.ReadSingle();