Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/data_transfer.c
| Context not available. | |||||
| * \ingroup bke | * \ingroup bke | ||||
| */ | */ | ||||
| #include "CLG_log.h" | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "DNA_customdata_types.h" | #include "DNA_customdata_types.h" | ||||
| Context not available. | |||||
| #include "data_transfer_intern.h" | #include "data_transfer_intern.h" | ||||
| static CLG_LogRef LOG = { "bke.data_transfer" }; | |||||
| CustomDataMask BKE_object_data_transfer_dttypes_to_cdmask(const int dtdata_types) | CustomDataMask BKE_object_data_transfer_dttypes_to_cdmask(const int dtdata_types) | ||||
| { | { | ||||
| Context not available. | |||||
| me_src = ob_src->runtime.mesh_eval; | me_src = ob_src->runtime.mesh_eval; | ||||
| if (me_src == NULL || (me_src_mask & ~ob_src->runtime.last_data_mask) != 0) { | if (me_src == NULL || (me_src_mask & ~ob_src->runtime.last_data_mask) != 0) { | ||||
| printf("Data Transfer: source mesh data is not ready - dependency cycle?\n"); | CLOG_WARN(&LOG, "Data Transfer: source mesh data is not ready - dependency cycle?"); | ||||
| return changed; | return changed; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||