The impact of China’s devastating 2008 earthquake was substantially lessened by environmental conservation programs for some of the country’s most fragile habitats. Analysis of satellite imagery and field data by scientists show the quake — and the resulting landslides — affected 10 percent of the forests covering the mountains that are home to endangered species, including the beloved giant panda. But it could have been worse.