{
    menuDef
    {
        name                        "apply_picmip_popmenu"
        rect                        0 0 640 480 0 0
        focuscolor                  1 1 1 1
        onOpen
        {
            execnow "setfromdvar r_picmip ui_r_picmip";
            execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
            execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
            execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
            exec "wait; wait; r_applyPicmip";
            close apply_picmip_popmenu;
        }
    }
}
