This moves the selection operators from sculpt_curves to curves and
exposes them (along proper keymap handling) to the UI.
Details
Details
NOTE: undo/redo is not usable yet (since curves editmode is a "real"
editmode which is excluded on purpose from MemFile undo). So a special
UndoType needs to be implemented (possibly falling back to MemFile undo)
or proper exceptions have to be put in place for editmode when curves
are in play. I have a hack locally in place which then works fine for
undo/redo -- but like I said, this needs to be properly done and is for
another patch.
NOTE: documentation for selection probably has to be adjusted as well
then to take into account editmode as well.
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- T101890 (branched from master)
- Build Status
Buildable 25121 Build 25121: arc lint + arc unit
Event Timeline
Comment Actions
Thanks for continuing the work on this!
In D16057 and related conversations we were settling on a design where the selection can be stored as a float or boolean attribute.
Edit mode would just write 0.0/false or 1.0/true, depending on the type. Any value greater than zero is considered selected.
Sculpt mode can also "upgrade" the selection attribute and write any float value in [0.0,1.0].
If it's okay with you, I think it would make sense to commit that first, then move code as necessary.