Kerbal Inventory System (KIS)

Kerbal Inventory System (KIS)

1M Downloads

500ms delay between drop part action and the actual refresh

ihsoft opened this issue · 3 comments

commented

When a part is dropped on the surface, there is about 500ms delay between the UI locks:

210526T223822.187 [INFO] [KIS.KISAddonPickup.OnDragReleased] Jetpack mouse input re-enabled
210526T223822.192 [INFO] [KIS.KISAddonPickup.Drop] [Part:KAS.JS1 (JS-1 Joint Socket) (id=F1022678590)] End part pickup
210526T223822.197 [INFO] [KIS.KISAddonPickup.GetAllPickupMaxMassInRange] [Part:kerbalEVA (Билл Керман) (id=F4112280655)#Module:19] Contribute into mass capability: mass=100, distance=30
210526T223822.197 [INFO] [KIS.KISAddonPointer.StartPointer] StartPointer()
210526T223822.198 [INFO] [KIS.KISAddonPointer.MakePointer] New pointer created
210526T223822.199 [INFO] [KIS.KISAddonPointer.LockUI] KIS UI lock acquired
210526T223822.199 [INFO] [KIS.KISAddonPickup.set_pointerMode] Set pointer mode to: Drop
210526T223822.200 [INFO] [KIS.KIS_IconViewer.ReleaseCameraSpot] Icon camera global shift is reset to zero
210526T223822.200 [INFO] [KIS.KISAddonPointer.SetPointerVisible] Pointer state set to: visibility=True
210526T223826.796 [INFO] [KIS.KISAddonPickup.MoveDrop] Move part
210526T223826.797 [INFO] [KIS.KIS_Shared.PlaceVessel] Dropping vessel static attach joint
210526T223826.798 [INFO] [KIS.KISAddonPointer.StopPointer] StopPointer()
210526T223826.799 [INFO] [KIS.KISAddonPickup.set_pointerMode] Set pointer mode to: Nothing
210526T223826.799 [INFO] [KIS.KISAddonPointer.UnlockUI] KIS UI lock released
210526T223826.800 [INFO] [KIS.KISAddonPointer.DestroyPointer] Pointer destroyed

It adds a jitter when the actions are being done immediately on the part drop.

commented

If it helps, I did find out the lag increases with the amount of crafts saved in the VAB/SPH, and only seems to occur when "Set pointer mode to: Nothing" (in KSP.log)

commented

Was this ever fixed or figured out? I experience this as well and only after watching a video did I realize that it's not supposed to do that.