mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-10-07 23:10:00 +00:00
Remove temporary fx load-path debug tracer
This commit is contained in:
@@ -10,16 +10,6 @@ local MTH_ANIM_READY = MTH_OptionsRequire and MTH_OptionsRequire("options-animat
|
||||
"MTH_CreateCheckbox",
|
||||
})
|
||||
|
||||
-- DEBUG: load-path tracer, global so /mth fxdebug can dump it. TEMP diagnostic.
|
||||
MTH_ANIM_DBG = {
|
||||
ready = tostring(MTH_ANIM_READY),
|
||||
reqType = type(MTH_OptionsRequire),
|
||||
getFrameType = type(MTH_GetFrame),
|
||||
clearType = type(MTH_ClearContainer),
|
||||
checkboxType = type(MTH_CreateCheckbox),
|
||||
step = "1-top",
|
||||
}
|
||||
|
||||
local MTH_ANIM_LINK = "https://codeberg.org/Pizzahawaii/PizzaSauce"
|
||||
local MTH_ANIM_CTRL = {}
|
||||
|
||||
@@ -62,21 +52,15 @@ local function MTH_ANIM_UpdateChildStates()
|
||||
end
|
||||
|
||||
function MTH_SetupAnimationsOptions()
|
||||
MTH_ANIM_DBG.setupCalled = true
|
||||
MTH_ANIM_DBG.fxEnabledType = type(MTH_FX_AnimationsEnabled)
|
||||
if not MTH_ANIM_READY then
|
||||
MTH_ANIM_DBG.setupResult = "abort-not-ready"
|
||||
return
|
||||
end
|
||||
if type(MTH_FX_AnimationsEnabled) ~= "function" then
|
||||
MTH_ANIM_DBG.setupResult = "abort-no-fx-globals"
|
||||
return
|
||||
end
|
||||
|
||||
local container = MTH_GetFrame("MetaHuntOptionsAnimations")
|
||||
MTH_ANIM_DBG.containerType = type(container)
|
||||
if not container then
|
||||
MTH_ANIM_DBG.setupResult = "abort-no-container"
|
||||
return
|
||||
end
|
||||
|
||||
@@ -148,9 +132,4 @@ function MTH_SetupAnimationsOptions()
|
||||
|
||||
panel:Finish()
|
||||
MTH_ANIM_UpdateChildStates()
|
||||
MTH_ANIM_DBG.setupResult = "ok"
|
||||
end
|
||||
|
||||
-- DEBUG: mark that the whole file finished loading. TEMP diagnostic.
|
||||
MTH_ANIM_DBG.step = "2-complete"
|
||||
MTH_ANIM_DBG.hasSetup = type(MTH_SetupAnimationsOptions)
|
||||
|
||||
Reference in New Issue
Block a user