remove use of deprecated struct members
[blender.git] / source / blender / blenkernel / intern / text.c
index 28d68892a2acb349af35da726c23f9e3d9b99770..60cc029bf6e0d336fa4013b511d3186fc433476f 100644 (file)
@@ -479,17 +479,11 @@ void unlink_text(Main *bmain, Text *text)
        bScreen *scr;
        ScrArea *area;
        SpaceLink *sl;
-       Scene *scene;
        Object *ob;
        bController *cont;
        bConstraint *con;
        short update;
 
-       /* dome */
-       for(scene=bmain->scene.first; scene; scene=scene->id.next)
-               if(scene->r.dometext == text)
-                       scene->r.dometext = NULL;
-
        for(ob=bmain->object.first; ob; ob=ob->id.next) {
                /* game controllers */
                for(cont=ob->controllers.first; cont; cont=cont->next) {