Do vertices have an unique ID?


#1

hey,

like in the headline: do vertices in blender have unique ids? I want to check if a position of a cettain vertex has changed or if it has been deleted. the context.data.vertices.id does not help me because it only represents the index of the element in the list and it changes if I add or delete vertices.

thanks for your reply


#2

No, vertices do not have a unique ID, there’s no such mechanism in Blender.


#3

and there is no other mechanism to identifier a vertex?
and is it planned to imlement something like that?


#4

There’s no plan to implement it as far as I know, the extra memory usage and overhead may not be worth it for the rare cases that need it.

If you want to e.g. send delta updates over a network, it may be better to use a generic binary diffing on arrays.