benini / scid

Other
44 stars 14 forks source link

GameChanged to PosChanged substitutions in engine.tcl #161

Closed scidfork closed 9 months ago

scidfork commented 9 months ago

Replaces GameChanged with PosChanged in exportMoves and exportLines. This seemed in line with the expectations for PosChanged. I noticed the GameChanged calls were causing a new game to be signaled to the engine(s) when using the "add move" or "add variation" buttons. "Add all variations" also caused this, even though the current position had not changed, only the pgn.

After the change the engine analysis runs more efficiently, in the same way as if you played the move "by hand" on the board.

benini commented 9 months ago

Thanks