Dennis, I think that was a brilliant repair, though I would definitely secure the magnets with JB Weld type product, sanding surface smooth when dry, then paint and if done well the repair should not be noticeable. Sure beats throwing the generator out or trying to completely disassemble and bust something in the process.
A+ for creativity!
Rog