Load texture type for hint in material editor
This commit is contained in:
parent
df961b511c
commit
7a0e5b4af7
Binary file not shown.
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user