Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object_update.c
| Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | #endif | ||||
| /* Always compute UVs, vertex colors as orcos for render. */ | /* Always compute UVs, vertex colors as orcos for render. */ | ||||
| cddata_masks.lmask |= CD_MASK_MLOOPUV | CD_MASK_MLOOPCOL; | cddata_masks.lmask |= CD_MASK_MLOOPUV | CD_MASK_MLOOPCOL; | ||||
| cddata_masks.vmask |= CD_MASK_ORCO | CD_MASK_PROP_COLOR; | cddata_masks.vmask |= CD_MASK_ORCO | CD_MASK_PROP_COLOR; | ||||
| } | } | ||||
| if (em) { | if (em) { | ||||
| makeDerivedMesh(depsgraph, scene, ob, em, &cddata_masks); /* was CD_MASK_BAREMESH */ | makeDerivedMesh(depsgraph, scene, ob, em, &cddata_masks); /* was CD_MASK_BAREMESH */ | ||||
| } | } | ||||
| else { | else { | ||||
| makeDerivedMesh(depsgraph, scene, ob, NULL, &cddata_masks); | |||||
| } | } | ||||
| break; | break; | ||||
| } | } | ||||
| case OB_ARMATURE: | case OB_ARMATURE: | ||||
| if (ID_IS_LINKED(ob) && ob->proxy_from) { | if (ID_IS_LINKED(ob) && ob->proxy_from) { | ||||
| if (BKE_pose_copy_result(ob->pose, ob->proxy_from->pose) == false) { | if (BKE_pose_copy_result(ob->pose, ob->proxy_from->pose) == false) { | ||||
| printf("Proxy copy error, lib Object: %s proxy Object: %s\n", | printf("Proxy copy error, lib Object: %s proxy Object: %s\n", | ||||
| ob->id.name + 2, | ob->id.name + 2, | ||||
| ▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines | |||||