Fix copy/paste typo in new depsgraph object geometry builder (found by coverity).
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 18 Nov 2016 10:55:28 +0000 (11:55 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 18 Nov 2016 10:55:28 +0000 (11:55 +0100)
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc

index f986d5dea4625de7dea21d442ac8751bd0db5058..4de82dd63e4a0ad2b5639bd31af2834581cf62cc 100644 (file)
@@ -901,7 +901,7 @@ void DepsgraphNodeBuilder::build_obdata_geom(Scene *scene, Object *ob)
                                build_object(scene, NULL, cu->bevobj);
                        }
                        if (cu->taperobj != NULL) {
-                               build_object(scene, NULL, cu->bevobj);
+                               build_object(scene, NULL, cu->taperobj);
                        }
                        if (ob->type == OB_FONT && cu->textoncurve != NULL) {
                                build_object(scene, NULL, cu->textoncurve);