mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 13:03:15 +00:00
Load texture type for hint in material editor
This commit is contained in:
parent
df961b511c
commit
7a0e5b4af7
2 changed files with 3 additions and 1 deletions
Binary file not shown.
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue