Two small fixes;

- on exit editmode, displist for subsurf was not made, causing static
  particles to calculate wrong
- static particles were not selectable
This commit is contained in:
2004-12-03 23:22:21 +00:00
parent 792c5334f8
commit d109dc7685
2 changed files with 4 additions and 5 deletions

View File

@@ -4243,12 +4243,12 @@ void draw_object(Base *base)
else drawDispList(ob, dt);
}
if( (ob!=G.obedit) && ((G.f & (G_PICKSEL)) == 0) ) {
if( ob!=G.obedit) {
paf = give_parteff(ob);
if( paf ) {
if(col) cpack(0xFFFFFF); /* for visibility */
if(paf->flag & PAF_STATIC) draw_static_particle_system(ob, paf);
else draw_particle_system(ob, paf);
else if((G.f & G_PICKSEL) == 0) draw_particle_system(ob, paf); // selection errors happen to easy
if(col) cpack(col);
}
}