1
0
mirror of synced 2024-12-11 15:25:59 +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]; MatTexture matTex = (MatTexture)material.TextureMaps[index];
samplerHintTB.Text = matTex.Type.ToString();
string name = matTex.Name; string name = matTex.Name;
textureNameTB.Text = name; textureNameTB.Text = name;
@ -373,7 +375,7 @@ namespace FirstPlugin.Forms
var index = textureRefListView.SelectedIndices[0]; var index = textureRefListView.SelectedIndices[0];
samplerHintTB.Text = GetHint(samplerHintTB.Text); // samplerHintTB.Text = GetHint(samplerHintTB.Text);
bool IsDuped = false; bool IsDuped = false;