Fix T46338: Can't get ReplaceMesh actuator meshes from inactive scene
Hi! This commit: https://developer.blender.org/rB6c9dd174a8bc2cd9a857c96f3ddfdb398aa6f88c prevented getting meshes from inactive scene as ReplaceMesh actuator meshes.
I propose this fix to have the possibility to get meshes from inactive scenes and to have the correct material for meshes used with ReplaceMesh actuator.
I'm not sure this is the correct fix so it needs review :) Thanks!
My test file: http://www.pasteall.org/blend/38421 (Thank you for pasteall :) )