I’m trying to store a selection of vertices in a way so I can retrieve it in multiple operators. The solution I’m thinking about is to use a PropertyGroup to store it. But my vertex selection variable doesn’t register for some reason.
I narrowed down the code of my add-on so you only see what’s relevant.
You can get it here.
The operator that uses the stored vertex selection can be accessed from an added button under Mesh Display, in Edit mode.
In this case the operator just deselects everything and should reselect the previous selection using the stored data (if only it worked).