Page MenuHome

Fix T82729: Crash in rna_EffectorWeight_path when object has fluid and dynamic paint modifiers
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Nov 25 2020, 9:49 AM.

Details

Summary

Looks like prior to the introduction of mantaflow, the former
SmokeModifierData always had a domain initialized (even if its type was
set to None). Since mataflow, the FluidModifierData type needs to be set
to MOD_FLUID_TYPE_DOMAIN (otherwise domain is invalid)

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Nov 25 2020, 9:49 AM
Philipp Oeser (lichtwerk) created this revision.
source/blender/makesrna/intern/rna_object_force.c
816

Just noticed the outdated comment

820–821

I'd ensure that the domain pointer exists too.

  • also check for valid domain
  • correct old comment ('smoke' > 'fluid')
This revision is now accepted and ready to land.Nov 26 2020, 2:29 PM