Fixes for particle system and physics
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Dec 2018 14:36:09 +0000 (15:36 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Dec 2018 14:36:09 +0000 (15:36 +0100)
commit4563849c1b3ca6eb7418ea2870f35a624ec04f81
tree46ff162d9c06ca41025b51de3e756c8877e0f9cc
parent259879e135476da6255d1411d66089ccdc78ad9d
Fixes for particle system and physics

- Silence harmless error print about relation.

  Object with particle system which doesn't use physics will
  not have point cache component.

- Tag relations for update when particle system physics type
  change.

  This ensures correct state of point cache component.

This is all part of T59258.
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/editors/object/object_relations.c
source/blender/makesrna/intern/rna_particle.c