I am writing a procedural planet generation addon.
I thought it would be nice to give the user the ability to create continents. He can create a continent, give it a name and add some faces to it (via selection). The addon is storing the face-indices of the current selected faces. If a user selects a continent in the gui the corresponding faces are selected, too.
Now I found out (via extrude operator, Find out if Mesh Operator (bpy.ops.mesh...) was cancelled or not via python) that blender sometimes recalculates the index of old faces. That is destroying my addon and the way I store the continents (remeber: face-indices).
How can I force blender to only add new face-indices for the newly created faces and leave the old faces alone?
Thanks for helping!