1
0
mirror of synced 2024-12-02 19:17:24 +01:00

Load texture type for hint in material editor

This commit is contained in:
KillzXGaming 2019-05-16 17:47:45 -04:00
parent df961b511c
commit 7a0e5b4af7
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -196,6 +196,8 @@ namespace FirstPlugin.Forms
MatTexture matTex = (MatTexture)material.TextureMaps[index];
samplerHintTB.Text = matTex.Type.ToString();
string name = matTex.Name;
textureNameTB.Text = name;
@ -373,7 +375,7 @@ namespace FirstPlugin.Forms
var index = textureRefListView.SelectedIndices[0];
samplerHintTB.Text = GetHint(samplerHintTB.Text);
// samplerHintTB.Text = GetHint(samplerHintTB.Text);
bool IsDuped = false;