#include "BKE_mesh.h"
#include "BKE_nla.h"
#include "BKE_object.h"
-#include "BKE_particle.h"
#include "BKE_report.h"
#include "BKE_sca.h"
#include "BKE_scene.h"
}
}
}
- if (dupflag & USER_DUP_PSYS) {
- ParticleSystem *psys;
- for (psys = obn->particlesystem.first; psys; psys = psys->next) {
- id = (ID *) psys->part;
- if (id) {
- ID_NEW_US(psys->part)
- else
- psys->part = BKE_particlesettings_copy(psys->part);
-
- if (dupflag & USER_DUP_ACT) {
- BKE_animdata_copy_id_action(&psys->part->id);
- }
-
- id_us_min(id);
- }
- }
- }
id = obn->data;
didit = 0;