I am working on a galaxy simulation. If I run the script, and then scrub the timeline it works prefect. If I run the script and then do an opengl animation render, it renders perfectly.
But if I run the script, and then do a real render, it keeps adding galaxy.001, galaxy.002 objects continuously while it builds the scene.
Does anyone have any idea why this happens. Here is the main handler, I can post all the other functions, or a blend if need be. Thanks in advance.
edit: previous code is junk