Open csagonas opened 9 years ago
Two things about this:
L
key for lock and make future group mode feature (rotation, scaling, ...) dependent on the number of points. Which would solve the problem while keeping the modes separate.What do you think @jabooth ?
@lirsacc giving this some thought, will get back to you tonight...
Sorry I'm late getting back to you on this @lirsacc.
The intention was that normal / snap mode be limited to quick manipulation with the mouse. More specialised actions (only arrow translate for now) are available in group mode and intentionally not mixed up with the basic behaviour.
I agree with this premise, but I feel that point translation is something that doesn't have to be in group mode. Things like rotation and scale (when they eventually come) only makes sense in a group mode (mathematically, these operations are no-ops on infinitesimal points at the origin). Translation however is something that is well defined on a single point. It makes sense in group mode too of course, but that is a secondary concern.
entering group mode with only one point is possible (shif+drag should work)
I would count this as a bug. Group mode should be uniquely defined by the number of points selected. If more than one point is selected, it's group mode. The mechanism by which you select the points shouldn't influence this.
but we could easily have an easier way to handle such sticky selection, maybe the L key for lock and make future group mode feature (rotation, scaling, ...) dependent on the number of points. Which would solve the problem while keeping the modes separate.
I think by following the above 'multiple points = group mode' logic removes this need?
In summary, we would like to get to having three states:
NO_SELECTION
- all landmark manipulation features disabledSINGLE_SELECTION
- all landmark manipulation features that make sense for a single landmark enabled
MULTIPLE_SELECTION
- all landmark manipulation features that make sense for a multiple landmarks enabled. Box UI appears with group options on it.
In this bigger picture, keyboard translation not working when we have one landmark selected seems strange.
Notes by @jabooth:
It feels quite natural to be able to use the arrow keys to budge single-selected landmarks around, but this is only enabled for groups (which is two or more landmarks). Can we change it so we can always use the arrow keys?