Fix T58739: Camera Location, keyframe Bug
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Dec 2018 13:59:23 +0000 (14:59 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Dec 2018 14:02:49 +0000 (15:02 +0100)
This was originally caused by fix for T53788. Not sure why extra
`where_is` is needed there, the object is supposed to be evaluated
already.

source/blender/editors/space_view3d/view3d_view.c

index 4d698428dfd341e1bcc85f5e04454ea509c70c36..e3b31a65aec69fffb6298397a95c451d083d365f 100644 (file)
@@ -764,7 +764,6 @@ void view3d_viewmatrix_set(
        if (rv3d->persp == RV3D_CAMOB) {      /* obs/camera */
                if (v3d->camera) {
                        Object *ob_camera_eval = DEG_get_evaluated_object(depsgraph, v3d->camera);
-                       BKE_object_where_is_calc(depsgraph, scene, ob_camera_eval);
                        obmat_to_viewmat(rv3d, ob_camera_eval);
                }
                else {