As per T37879, this patch adds default-generated UVs to mesh primitives (cone, cylinder, icosphere, uvsphere, cube, circle, grid) when they are added to the scene, since some of them can be pretty awkward to unwrap manually.
This is my first Blender patch so some feedback is welcome - most particularly:
Is this the right place for this stuff? I could find nowhere really better to put it but the functions I added feel kind of out of place where they are for some reason.
Is there an easier way to do it?
Should this be an option in the operator instead of a default? I can't think of any time when I'm adding a primitive that I wouldn't want UVs generated - even if I'm not going to use them I'll just unwrap it again myself, which is exactly what I would have done anyways - but it wouldn't be hard to implement that way I guess.