Skip to content

Commit

Permalink
Make parlty compatible with curve inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Jan 5, 2021
1 parent 4ed97c4 commit 5b8b30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intern/openmesheffect/blender/intern/mfxRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Mesh *OpenMeshEffectRuntime::cook(OpenMeshEffectModifierData *fxmd,

Object *object = fxmd->extra_inputs[i].connected_object;

// TODO: get mesh only if needed
// TODO: get an evaluated object out of object? Object *object_eval = DEG_get_evaluated_object(depsgraph, object);
Mesh *mesh = fxmd->extra_inputs[i].request_geometry && NULL != object
? BKE_modifier_get_evaluated_mesh_from_evaluated_object(object, false)
: NULL;
Expand Down

0 comments on commit 5b8b30a

Please sign in to comment.