58 id_[
i] = dupli->persistent_id[
i];
59 if (id_[
i] == INT_MAX) {
79 if (hash_value_ != k.hash_value_) {
85 if (parent_ != k.parent_) {
88 if (sub_key_ != k.sub_key_) {
93 if (id_[
i] != k.id_[
i]) {
96 if (id_[
i] == INT_MAX) {
constexpr int MAX_DUPLI_RECUR
T * DEG_get_original(T *id)
Object is a sort of wrapper for general info.
unsigned long long int uint64_t
A running instance of the engine.
ObjectKey(const ObjectRef &ob_ref, int sub_key=0)
bool operator==(const ObjectKey &k) const
ObjectHandle & sync_object(const ObjectRef &ob_ref)
void sync_mesh(Object *ob, ObjectHandle &ob_handle, const ObjectRef &ob_ref)
void sync_curves(Object *ob, ObjectHandle &ob_handle, const ObjectRef &ob_ref, ResourceHandle res_handle=0, ModifierData *modifier_data=nullptr, ParticleSystem *particle_sys=nullptr)
void sync_volume(Object *ob, ObjectHandle &ob_handle, const ObjectRef &ob_ref)
SyncModule(Instance &inst)
WorldHandle sync_world(const ::World &world)
bool sync_sculpt(Object *ob, ObjectHandle &ob_handle, const ObjectRef &ob_ref)
void sync_pointcloud(Object *ob, ObjectHandle &ob_handle, const ObjectRef &ob_ref)
FunctionRef< void(ObjectHandle, ModifierData &, ParticleSystem &)> HairHandleCallback
void foreach_hair_particle_handle(ObjectRef &ob_ref, ObjectHandle ob_handle, HairHandleCallback callback)
uint64_t get_default_hash(const T &v, const Args &...args)
DupliObject * dupli_object