Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_datatransfer.c
| Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Lines | if (BKE_object_data_transfer_ex(ctx->depsgraph, | ||||
| 0.0f, | 0.0f, | ||||
| dtmd->layers_select_src, | dtmd->layers_select_src, | ||||
| dtmd->layers_select_dst, | dtmd->layers_select_dst, | ||||
| dtmd->mix_mode, | dtmd->mix_mode, | ||||
| dtmd->mix_factor, | dtmd->mix_factor, | ||||
| dtmd->defgrp_name, | dtmd->defgrp_name, | ||||
| invert_vgroup, | invert_vgroup, | ||||
| &reports)) { | &reports)) { | ||||
| result->runtime.is_original = false; | result->runtime.is_original_bmesh = false; | ||||
| } | } | ||||
| if (BKE_reports_contain(&reports, RPT_ERROR)) { | if (BKE_reports_contain(&reports, RPT_ERROR)) { | ||||
| const char *report_str = BKE_reports_string(&reports, RPT_ERROR); | const char *report_str = BKE_reports_string(&reports, RPT_ERROR); | ||||
| BKE_modifier_set_error(ctx->object, md, "%s", report_str); | BKE_modifier_set_error(ctx->object, md, "%s", report_str); | ||||
| MEM_freeN((void *)report_str); | MEM_freeN((void *)report_str); | ||||
| } | } | ||||
| else if ((dtmd->data_types & DT_TYPE_LNOR) && !(me->flag & ME_AUTOSMOOTH)) { | else if ((dtmd->data_types & DT_TYPE_LNOR) && !(me->flag & ME_AUTOSMOOTH)) { | ||||
| ▲ Show 20 Lines • Show All 286 Lines • Show Last 20 Lines | |||||