u3dreal / molecular-plus

particle solver for Blender 3.0+ / 4.0+
GNU General Public License v3.0
268 stars 20 forks source link

Fixed memory leak. #50

Closed madevgeny closed 6 months ago

u3dreal commented 7 months ago

Hi can you be a bit more desciptive of what you did ?? i saw it is not good to reallocate the particles all the time.

u3dreal commented 7 months ago

@madevgeny

plz let me know on what your thoughts are why this is a mem leak ?

madevgeny commented 7 months ago

Hi, oh, yes patch looks strange. I'll look at it again.

OmidGhotbi commented 6 months ago

i fixed it in the new code i will create a pull request. also, it needs 46% less memory now. the code was already there it needed to be used in the correct order.

u3dreal commented 6 months ago

OK