reset_edits#

movement.napari.layer_wiring.reset_edits(points_layer, frame=None)[source]#

Restore loaded points for one frame, or all frames if None.

The loaded state is read from POINTS_POSITION_KEY (positions) and POINTS_PROPERTIES_KEY (confidence, edited flags and which points were present), so it includes edits saved in the input file. Deleted points are restored too.

Return type:

None