MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / idle

Method idle

common/script/scriptconsole.cpp:69–73  ·  view source on GitHub ↗

Stops a bar without emptying it: what it reached, and what it was working on, stay on screen. Only a rate is dropped — nothing is moving any more.

Source from the content-addressed store, hash-verified

67// Stops a bar without emptying it: what it reached, and what it was working
68// on, stay on screen. Only a rate is dropped — nothing is moving any more.
69void ScriptConsole::idle(Layer& layer)
70{
71 layer.active = false;
72 layer.rate = 0.0;
73}
74
75// The IO bar between phases: no counts (the next phase measures something
76// else entirely), and the script's stage note as its label, so the row says

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected