Skip to content

[Bug] plot.items not being cleared after each frame. #664

@lawabider

Description

@lawabider

Bug description
In a simple plot which has a new title in each frame, plot.items quickly increased in size.
Perhaps we should add gp.CurrentItems->Reset() to EndPlot() after "CLEANUP":

   // CLEANUP ----------------------------------------------------------------   

   // remove items
   if (gp.CurrentItems == &plot.Items)
   {
       gp.CurrentItems->Reset(); // I added this.
      gp.CurrentItems = nullptr;
   }

Metadata

Metadata

Assignees

Labels

prio:highHigh prioritystatus:todoTask identified but not startedtype:fixSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions