diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-28 23:14:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-28 23:14:43 +0300 |
commit | d2e473a2dd488934c064c18f682750cac27c106f (patch) | |
tree | db8dfa6ea72b7e5dbdff3cb99d6181deb87d5527 /source/blender/editors/object/object_relations.c | |
parent | a0c45a2d5416f780451a23830087a6e712d26ef1 (diff) |
Cleanup: Remove unused "for_orco" argument to curve evaluation
`BKE_displist_make_curveTypes` had a `for_orco` argument that was
always false in calls to the function. Removing it allows the curve
displist and modifier evaluation code to become simpler. There are
some related cleanups in rBdf4299465279 and rB93aecd2b8107.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index e2b7a079775..15695c4c6f7 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -715,7 +715,7 @@ bool ED_object_parent_set(ReportList *reports, cu->flag |= CU_PATH | CU_FOLLOW; cu_eval->flag |= CU_PATH | CU_FOLLOW; /* force creation of path data */ - BKE_displist_make_curveTypes(depsgraph, scene, par, false, false); + BKE_displist_make_curveTypes(depsgraph, scene, par, false); } else { cu->flag |= CU_FOLLOW; |