fix for own mistake [#21088] comb mode broken?
authorCampbell Barton <ideasman42@gmail.com>
Thu, 11 Feb 2010 14:24:45 +0000 (14:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 11 Feb 2010 14:24:45 +0000 (14:24 +0000)
source/blender/editors/physics/particle_edit.c

index f4486353e47ed24c0eedd78e77d4b5bb63fbc7ca..4c88fb496261d8ea6760c7a8a4510d3d1db9e8a2 100644 (file)
@@ -205,7 +205,7 @@ static PTCacheEdit *pe_get_current(Scene *scene, Object *ob, int create)
        ListBase pidlist;
        PTCacheID *pid;
 
-       if(pset==NULL || pset->object==NULL)
+       if(pset==NULL || ob==NULL)
                return NULL;
 
        pset->scene = scene;