Fix an error when replacing nutexb
This commit is contained in:
parent
fa8a409df6
commit
60e09b8511
@ -1565,8 +1565,11 @@ namespace FirstPlugin
|
||||
}
|
||||
|
||||
Texture tex = setting.FromBitMap(setting.DataBlockOutput, setting);
|
||||
tex.UserData = Texture.UserData;
|
||||
tex.UserDataDict = Texture.UserDataDict;
|
||||
if (Texture != null && Texture.UserData != null) {
|
||||
tex.UserData = Texture.UserData;
|
||||
tex.UserDataDict = Texture.UserDataDict;
|
||||
}
|
||||
|
||||
tex.Name = Text;
|
||||
|
||||
Texture = tex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user