u3dreal / molecular-plus

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

'Free All Bakes' affecting more than it should #30

Open VarnaScelestus opened 11 months ago

VarnaScelestus commented 11 months ago

Using 'free all bakes' on the UI affects other physics simulations in the scene (such as cloth sims) which I don't think it should be doing. It should really only be clearing data relevant to the addon (the selected object's associated particle system bake, I believe?), not anything else.

u3dreal commented 10 months ago

For now delete the cache from particlesystem->cache->free bake for single particles systems .. The free all is used to clear all particle systems when using multiple particle systems .. interacting

The bpy.ops.ptcache.free_cache() does not work for me since the context is wrong ...

u3dreal commented 10 months ago

The problem is that all the particle systems have to be in sync to interact ,..