Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (main->versionfile < 267 || (main->versionfile == 266 && main->subversionfile < 5)) {
- Object *ob;
- for (ob = main->object.first; ob; ob = ob->id.next) {
- ParticleSystem *psys;
- for (psys = ob->particlesystem.first; psys; psys = psys->next) {
- ParticleSettings *part = psys->part;
- printf("%d",part->omat);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement