Fix T76694: Fluid cache is deleted when changing Upres Factor

Reviewers: sebbas
This commit is contained in:
Jacques Lucke 2020-05-19 15:12:07 +02:00
parent 30cbbccc60
commit 14278cd932
Notes: blender-bot 2023-02-14 09:36:46 +01:00
Referenced by issue #76881, Selecting Fluid>Mesh>"Use Speed Vectors" deletes all existing cache without warning
Referenced by issue #76694, [Mantaflow] cache is deleted at changing upres factor
1 changed files with 1 additions and 1 deletions

View File

@ -1725,7 +1725,7 @@ static void rna_def_fluid_domain_settings(BlenderRNA *brna)
"resolution of the domain). For best meshing, it is recommended to "
"adjust the mesh particle radius alongside this value");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Fluid_domain_reset");
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Fluid_meshcache_reset");
prop = RNA_def_property(srna, "mesh_generator", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "mesh_generator");