Fix T49425: Freestyle in viewport keeps updating over and over.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 22 Sep 2016 12:57:16 +0000 (14:57 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 22 Sep 2016 13:02:32 +0000 (15:02 +0200)
commit42f42cbfdce1732b193c05495eab4f23ddba045d
tree4d395abab4a0c4ff3063a7e71e6ce10bc2cec0c7
parent53ff09bc97578cf19e307f24c17cd82ac7821fbc
Fix T49425: Freestyle in viewport keeps updating over and over.

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.
source/blender/blenkernel/intern/library_remap.c