ab09a80d33
Regression caused by rBb27ba26, we would always tag datablocks to update in G.main, ignoring given bmain, now always use this one instead. To be backported to 2.78.