Bug fix: effectors in pre 2.5 files didn't work due to a forgotten flag in do_versions.
authorJanne Karhu <jhkarh@gmail.com>
Mon, 10 Jan 2011 11:53:07 +0000 (11:53 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Mon, 10 Jan 2011 11:53:07 +0000 (11:53 +0000)
source/blender/blenloader/intern/readfile.c

index b72c40cc83dc23d8cda29998c7cea19198f5abe4..a8eaa700da07962cdb5eb66dc1cb6d1d289a9d7b 100644 (file)
@@ -10212,6 +10212,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                        ob->pd->shape = PFIELD_SHAPE_PLANE;
                                else if(ob->pd->flag & PFIELD_SURFACE)
                                        ob->pd->shape = PFIELD_SHAPE_SURFACE;
+
+                               ob->pd->flag |= PFIELD_DO_LOCATION;
                        }
                }
        }