Advertisement
Guest User

Untitled

a guest
Mar 30th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. if (main->versionfile < 267 || (main->versionfile == 266 && main->subversionfile < 5)) {
  2.     Object *ob;
  3.     for (ob = main->object.first; ob; ob = ob->id.next) {
  4.         ParticleSystem *psys;
  5.         for (psys = ob->particlesystem.first; psys; psys = psys->next) {
  6.             ParticleSettings *part = psys->part;
  7.             printf("%d",part->omat);
  8.         }
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement