Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_uvproject.c
| Context not available. | |||||
| static Mesh *uvprojectModifier_do( | static Mesh *uvprojectModifier_do( | ||||
| UVProjectModifierData *umd, | UVProjectModifierData *umd, | ||||
| const ModifierEvalContext *UNUSED(ctx), | const ModifierEvalContext *ctx, | ||||
| Object *ob, Mesh *mesh) | Object *ob, Mesh *mesh) | ||||
| { | { | ||||
| float (*coords)[3], (*co)[3]; | float (*coords)[3], (*co)[3]; | ||||
| Context not available. | |||||
| for (i = 0; i < umd->num_projectors; ++i) { | for (i = 0; i < umd->num_projectors; ++i) { | ||||
| if (umd->projectors[i] != NULL) { | if (umd->projectors[i] != NULL) { | ||||
| projectors[num_projectors++].ob = umd->projectors[i]; | projectors[num_projectors++].ob = DEG_get_evaluated_object(ctx->depsgraph, umd->projectors[i]); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||