diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-05 11:57:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-05 11:59:47 +0300 |
commit | ce7409fd13d319ad2035909bda8b3ecd3b0002b8 (patch) | |
tree | 2022d4b74b1d269f7f1e967831566c77bf8cb0c5 /source/blender/io | |
parent | 5e55153c891bcf6f4c204629b7c63b98dde273ca (diff) |
Cleanup: use ED_object_ prefix for constraint functions
- ED_object_constraint_list_from_constraint was get_constraint_lb
- ED_object_constraint_list_from_context was get_active_constraints
- ED_object_constraint_active_get was get_active_constraint
- ED_object_constraint_active_set was ED_object_constraint_set_active
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/collada/BCAnimationSampler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/BCAnimationSampler.cpp b/source/blender/io/collada/BCAnimationSampler.cpp index fc23a58ccbc..4aea74cd82f 100644 --- a/source/blender/io/collada/BCAnimationSampler.cpp +++ b/source/blender/io/collada/BCAnimationSampler.cpp @@ -271,7 +271,7 @@ void BCAnimationSampler::find_depending_animated(std::set<Object *> &animated_ob std::set<Object *>::iterator it; for (it = candidates.begin(); it != candidates.end(); ++it) { Object *cob = *it; - ListBase *conlist = get_active_constraints(cob); + ListBase *conlist = ED_object_constraint_list_from_context(cob); if (is_animated_by_constraint(cob, conlist, animated_objects)) { animated_objects.insert(cob); candidates.erase(cob); |