diff options
Diffstat (limited to 'source/blender/makesdna/DNA_dynamicpaint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_dynamicpaint_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index 24dc90d6c21..c8e09225432 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -241,6 +241,11 @@ enum { typedef struct DynamicPaintBrushSettings { /** For fast RNA access. */ struct DynamicPaintModifierData *pmd; + + /* NOTE: Storing the particle system pointer here is very weak, as it prevents modfiers' data + * copying to be self-sufficient (extra external code needs to ensure the pointer remains valid + * when the modifier data is copied from one object to another). See e.g. + * `BKE_object_copy_particlesystems` or `BKE_object_copy_modifier`. */ struct ParticleSystem *psys; int flags; |