Skip to content

Commit

Permalink
Sanite name when reloading textures
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoBob committed May 26, 2022
1 parent 8964ac4 commit a434225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RenderWarePreviewer/Scenes/SceneManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void LoadModel(Ped ped, Image<Rgba32> image, string imageName)
var txd = this.assetHelper.GetTxd(ped.TxdName);

var images = this.assetHelper.GetImages(txd);
images[imageName] = image;
images[AssetHelper.SanitizeName(imageName)] = image;
var models = MeshHelper.GetModels(dff, images);

var rotation = DetermineRotation(models);
Expand Down

0 comments on commit a434225

Please sign in to comment.