# Can not undo Fill Between Slices effect

**URL:** <https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [January 5, 2023, 3:28am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044 "2023-01-05T03:28:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/damaya/32/17931_2.png) [@Damaya](https://discourse.slicer.org/u/Damaya)\
**Post date:** [January 5, 2023, 3:28am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/1 "2023-01-05T03:28:06Z")

</div>

Hello Everyone,  
I hope this is an easy fix. I am working on two segmentations on CT data. One was complete. However, upon performing the Fill Between slices effect on the second segmentation I noticed it had also performed the function on my first segmentation. I had forgotten to unselect the first segmentation. Unfortunately, I noticed this too late and I can not remove it as I am limited by the Undo functions limit. Is there a way around this that doesn’t involve me having to redo the first segmentation? Is there for example a history log where I can delete steps? Any help would be appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [January 5, 2023, 7:50pm UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/2 "2023-01-05T19:50:20Z")

</div>

Unfortunately, there is no easy fix. Undo/redo seems to be limited to 9 operations and there is no history log.

---

<div class="post-metadata">

**Author:** ![Damaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/damaya/32/17931_2.png) [@Damaya](https://discourse.slicer.org/u/Damaya)\
**Post date:** [January 6, 2023, 9:34am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/3 "2023-01-06T09:34:52Z")

</div>

I was afraid of that. A history Log would be a good feature. Ok, thanks for the reply.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 7, 2023, 12:38am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/4 "2023-01-07T00:38:31Z")

</div>

If you often find you want to go back more than the default segmentation undo history and you have enough memory in your computer to store more states then [you can increase the maximum number of undo states](https://discourse.slicer.org/t/segment-editor-undo-queue-length/14766).

However, it might be better to just save your work more frequently. You can easily save independent copies of the full scene by clicking on the package icon in Save data window; or you can quickly save just the modified nodes by saving using the default options.

---

<div class="post-metadata">

**Author:** ![Damaya](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/damaya/32/17931_2.png) [@Damaya](https://discourse.slicer.org/u/Damaya)\
**Post date:** [January 7, 2023, 6:12am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/5 "2023-01-07T06:12:29Z")

</div>

Great! Thats good advice. I try to save often but not as separate files of the nodes. I think I will try to get into the habit as a way of having bookmarks of my progress. Unfortunately I lost a days work by making an avoidable mistake, but now I know . Thanks.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 7, 2023, 6:33am UTC](https://discourse.slicer.org/t/can-not-undo-fill-between-slices-effect/27044/6 "2023-01-07T06:33:46Z")

</div>

> [@lassoan](#):
>
> However, it might be better to just save your work more frequently.

I would second this. A trick I use before committing a significant change in segmentation, is to go to Data module, right-click on the segmentation and choose “Export File” and save a copy of segmentation. It is faster than saving the whole scene and packaging it. If the segmentation experiment was successful, you can re-write the file in the same way. if not, delete it (instead of undo) and reload the file you just exported.
