ObjectEditor : specify resources default value in factory ctor

Instead of using the most recently cached object, which was not
documented nor obvious.