fix for own mistake [#21088] comb mode broken?

This commit is contained in:
Campbell Barton
2010-02-11 14:24:45 +00:00
parent 8f4c340915
commit 3c5b476d1f

View 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;