[Bf-blender-cvs] [8acca0e9e12] master: Depsgraph: Remove workaround of parameters animation in camera
Sergey Sharybin
noreply at git.blender.org
Wed Dec 6 10:33:08 CET 2017
Commit: 8acca0e9e12cd83ecbe12b9610ff32b6a46269eb
Author: Sergey Sharybin
Date: Tue Dec 5 16:35:58 2017 +0100
Branches: master
https://developer.blender.org/rB8acca0e9e12cd83ecbe12b9610ff32b6a46269eb
Depsgraph: Remove workaround of parameters animation in camera
This is something what should be done by build_animation().
===================================================================
M source/blender/depsgraph/intern/builder/deg_builder_relations.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 6b84e3ba1c1..e52902b8c8a 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -1631,14 +1631,6 @@ void DepsgraphRelationBuilder::build_camera(Object *object)
return;
}
camera_id->tag |= LIB_TAG_DOIT;
-
- ComponentKey parameters_key(camera_id, DEG_NODE_TYPE_PARAMETERS);
-
- if (needs_animdata_node(camera_id)) {
- ComponentKey animation_key(camera_id, DEG_NODE_TYPE_ANIMATION);
- add_relation(animation_key, parameters_key, "Camera Parameters");
- }
-
/* DOF */
if (cam->dof_ob) {
ComponentKey ob_param_key(&object->id, DEG_NODE_TYPE_PARAMETERS);
More information about the Bf-blender-cvs
mailing list