Updated to OTCv8 3.1 rev 195

This commit is contained in:
OTCv8 2022-04-30 22:10:09 +00:00
parent 387d4d39a5
commit 35e54aaca3
9 changed files with 12 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 742 B

View File

@ -258,7 +258,7 @@ OutfitWindow < MainWindow
size: 128 128 size: 128 128
margin-right: 32 margin-right: 32
margin-bottom: 32 margin-bottom: 32
outfit-shader: default outfit-shader: outfit_default
Panel Panel
id: bars id: bars

View File

@ -258,7 +258,7 @@ OutfitWindow < MainWindow
size: 128 128 size: 128 128
margin-right: 32 margin-right: 32
margin-bottom: 32 margin-bottom: 32
outfit-shader: default outfit-shader: outfit_default
Panel Panel
id: bars id: bars

View File

@ -218,7 +218,7 @@ function create(currentOutfit, outfitList, mountList, wingList, auraList, shader
end end
if currentOutfit.shader == "" then if currentOutfit.shader == "" then
currentOutfit.shader = "default" currentOutfit.shader = "outfit_default"
end end
loadSettings() loadSettings()
@ -618,7 +618,7 @@ function showOutfits()
outfit.mount = 0 outfit.mount = 0
outfit.aura = 0 outfit.aura = 0
outfit.wings = 0 outfit.wings = 0
outfit.shader = "default" outfit.shader = "outfit_default"
outfit.healthBar = 0 outfit.healthBar = 0
outfit.manaBar = 0 outfit.manaBar = 0
button.outfit:setOutfit(outfit) button.outfit:setOutfit(outfit)
@ -777,12 +777,12 @@ function showShaders()
local focused = nil local focused = nil
do do
local button = g_ui.createWidget("SelectionButton", window.selectionList) local button = g_ui.createWidget("SelectionButton", window.selectionList)
button:setId("default") button:setId("outfit_default")
button.outfit:setOutfit({type = tempOutfit.type, addons = tempOutfit.addons, shader = "default"}) button.outfit:setOutfit({type = tempOutfit.type, addons = tempOutfit.addons, shader = "outfit_default"})
button.name:setText("None") button.name:setText("None")
if tempOutfit.shader == "default" then if tempOutfit.shader == "outfit_default" then
focused = "default" focused = "outfit_default"
end end
end end
@ -1118,7 +1118,9 @@ function updatePreview()
local previewOutfit = table.copy(tempOutfit) local previewOutfit = table.copy(tempOutfit)
if not settings.showOutfit then if not settings.showOutfit then
previewOutfit.type = 0 previewCreature:hide()
else
previewCreature:show()
end end
if not settings.showMount then if not settings.showMount then
@ -1134,7 +1136,7 @@ function updatePreview()
end end
if not settings.showShader then if not settings.showShader then
previewOutfit.shader = "default" previewOutfit.shader = "outfit_default"
end end
if not settings.showBars then if not settings.showBars then

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.