The condition, known as nonarteritic anterior ischemic optic neuropathy (NAION), affects the optic nerve and can cause sudden, painless loss of vision.