Art object uniqueness.
Hi fellow developers,
I try to achieve a list/set/map of art work objects, paths specificaly.
I tought that the art handle is unique to every object. It seemed so untill i discovered that when an artboject is changed, the art handle(a pointer adress basicly) is different. Even a small move causes the old handle to be invallid. So not usable to achieve somekind of std::vector or std::map wathever with this art handles.
I tried using the UID suite... but again after the slightest possible change in the artwork, the UID of the object is renewed again making it rather useless to achieve a list of uniqueness. Also Handles would be better then unique id's.
Its seems that the only thing that keeps being attached to an art pobject is its dictionary. This is very usable but also creates some overhead of checking. Again Unique handles in a list would be ideal.
So does anybody has some experience with uniqueness in art object a the abbility to list/map/set/whatever them for later use?
Thx for any hint! 🙂
Doubl3
