u3dreal / molecular-plus

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

Baking has a rare chance of getting permanently stuck #25

Closed jericjan closed 1 year ago

jericjan commented 1 year ago

I'm not quite sure what happened. I was baking a particle simulation, and I might have pressed spacebar while it still baking. Next thing I know, I couldn't cancel it. I pressed the Cancel button multiple times, but I got nothing. Thankfully, Blender made some backups and everything I needed was recovered. Still, this is a concerning bug.

Here is a google drive link for the bugged project. Maybe it can help: https://drive.google.com/file/d/16g0Pl90pqxQaerEGchHE8Fq6HEcUl-Tc/view?usp=share_link

In it, Sphere.001 has a particle simulation that can't be cancelled. I tried assigning the Free All Bakes button to Quick Favorites but that didn't help.

u3dreal commented 1 year ago

that is a param saved with the file .. goto Properties - Scene - Custom Properties and turn off mol_simrun Bild

Bildschirmfoto_2023-02-04_um_20 14 37
jericjan commented 1 year ago

That's weird. It currently has zero custom properties so I can't even do that.

u3dreal commented 1 year ago

You need to load the scenen first And then make sure you look in th "SCENE" not the objects.

jericjan commented 1 year ago

Sorry, I'm not sure I'm following. My scene is loaded and I am in the Scene tab...

screenshot

u3dreal commented 1 year ago

Hmm they are just not shown since the sim in not started ..

Try entrering "bpy.context.scene.mol_simrun = False" in the python console ....

Bildschirmfoto 2023-02-11 um 12 01 50
jericjan commented 1 year ago

Alrighty, that did the trick! Thanks so much.