DynamicCam

DynamicCam

1M Downloads

Camera rotation isn't working.

duskflower opened this issue ยท 1 comments

commented

Both continuous and discrete camera rotation throws LUA errors.

Continuous:

Time: Mon Jun 22 14:46:00 2020
Count: 292
Stack: ...rface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:547: attempt to perform arithmetic on upvalue 'duration' (a nil value)
[string "@Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua"]:547: in function `func'
[string "@Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua"]:31: in function <...rface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:26>

Locals: speed = 90
currentTime = 778798.784000
(*temporary) = 778798.428000
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on upvalue 'duration' (a nil value)"
endSpeed = 90
beginTime = 778798.428000
lastSpeed = nil
lastTime = 778798.784000
elaspedYaw = 0
duration = nil
getYawSpeed = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:88
isCoasting = false

Discrete:

Message: ...rface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:486: attempt to perform arithmetic on upvalue 'duration' (a nil value)
Time: Mon Jun 22 14:46:39 2020
Count: 450
Stack: ...rface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:486: attempt to perform arithmetic on upvalue 'duration' (a nil value)
[string "@Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua"]:486: in function `func'
[string "@Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua"]:31: in function <...rface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:26>

Locals: currentTime = 778837.339000
(*temporary) = 778836.533000
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on upvalue 'duration' (a nil value)"
beginTime = 778836.533000
duration = nil
getEaseVelocity = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:109
easingFunc = <function> defined @Interface\AddOns\DynamicCam\Libs\LibEasing\LibEasing.lua:71
beginValue = 0
change = 50
lastYaw = nil
getYawSpeed = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:88
self = <table> {
 Pitch = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:622
 StopPitching = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:684
 IsRotating = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:706
 StopRotating = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:710
 IsPitching = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:680
 BeginContinuousYaw = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:527
 IsYawing = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:582
 StopYawing = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:586
 StopZooming = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:425
 SetZoomUsingCVar = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:307
 CustomZoom = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:376
 Yaw = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:468
 IsZooming = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:415
 frame = <unnamed> {
 }
 ZoomInProgress = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:457
 SetZoom = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:187
}
callback = nil
easingYaw = <table> {
 updateFunc = <function> defined @Interface\AddOns\DynamicCam\Libs\LibCamera\LibCamera.lua:482
}
commented

Thanks for letting me know! I don't know how I could not have tested this. It should be fixed with the newest version now!