Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-09-09 14:52:37 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-09-09 15:12:55 +0300
commit9dcae4eb17d7b5a90fda43d0abab1636acf42851 (patch)
tree60dc9706c2bab6e363096baf865b585a46a4d31f /source/blender/io
parent98eb89be5dd08f3b38f34e7881bae37c3b13e8bb (diff)
Refactor getting constraints
This is the refactoring part of D8805 (should be no functional changes). - exposes pose-related part of former 'get_constraints()' from interface_templates.c to new ED_object_pose_constraint_list - rename ED_object_constraint_list_from_context --> ED_object_constraint_active_list Also clarify comments on both of these. ref T80464 ref https://developer.blender.org/D8805
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/collada/BCAnimationSampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/BCAnimationSampler.cpp b/source/blender/io/collada/BCAnimationSampler.cpp
index a27bb10f705..b8df98e8acb 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 = ED_object_constraint_list_from_context(cob);
+ ListBase *conlist = ED_object_constraint_active_list(cob);
if (is_animated_by_constraint(cob, conlist, animated_objects)) {
animated_objects.insert(cob);
candidates.erase(cob);