This is a work in progress patch for T57210: Add Object Tools Todo, this isn't ready for review yet.
- Interactively adding primitives with two clicks.
- Scene orientation used for new objects.
- Position enum [ view-plane / axis-plane / surface ]
- Origin enum [ base / center ]
- Primitive object types [ cube / cylinder / cone / uv-sphere / ico-sphere ]
- Settings for object types in the top-bar.
- Constrain 1:1 aspect (Shift).
- Toggle center (Alt).
- Add "Cone" icon.
- Handle "Error" cases (when the cursor-plane intersection is behind the view for example).
- Improve layout of the UI (currently spacing is poor).
- Show a preview plane before adding the object.
- Gizmos to adjust the dimensions after adding the object.