Blender V5.3
blender::ed::object::DupliObjectHash Struct Reference

Public Member Functions

uint64_t operator() (const DupliObject *dob) const

Detailed Description

Note
regarding hashing dupli-objects which come from OB_DUPLICOLLECTION, skip the first member of #DupliObject.persistent_id since its a unique index and we only want to know if the group objects are from the same dupli-group instance.
regarding hashing dupli-objects which come from non-OB_DUPLICOLLECTION, include the first member of #DupliObject.persistent_id since its the index of the vertex/face the object is instantiated on and we want to identify objects on the same vertex/face. In other words, we consider each group of objects from a same item as being the 'local group' where to check for parents.

Definition at line 2775 of file object_add.cc.

Member Function Documentation

◆ operator()()


The documentation for this struct was generated from the following file: