diff options
Diffstat (limited to 'source/blender/editors/physics/particle_object.c')
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index b2de9660848..aaa9afdd8c6 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -977,7 +977,7 @@ static void remove_particle_systems_from_object(Object *ob_to) if (ob_to->type != OB_MESH) return; - if (!ob_to->data || ID_IS_LINKED_DATABLOCK(ob_to->data)) + if (!ob_to->data || ID_IS_LINKED(ob_to->data)) return; for (md = ob_to->modifiers.first; md; md = md_next) { @@ -1013,7 +1013,7 @@ static bool copy_particle_systems_to_object(Main *bmain, if (ob_to->type != OB_MESH) return false; - if (!ob_to->data || ID_IS_LINKED_DATABLOCK(ob_to->data)) + if (!ob_to->data || ID_IS_LINKED(ob_to->data)) return false; /* For remapping we need a valid DM. |