diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-11-11 17:07:23 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-11-11 17:07:23 +0300 |
commit | 3a3947bcf83228e1e7977556baff3de02b16ea07 (patch) | |
tree | 9b2e5ebae4501d85ba9d96817acea34e8525df2b /source/blender/editors | |
parent | e37d254170c3ab2c54d4082926d9c685cafdfc45 (diff) |
Revert incorrect change.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.cc b/source/blender/editors/space_view3d/view3d_draw.cc index c06d0981cb0..57bf8e557c2 100644 --- a/source/blender/editors/space_view3d/view3d_draw.cc +++ b/source/blender/editors/space_view3d/view3d_draw.cc @@ -1554,6 +1554,7 @@ static void view3d_virtual_camera_update(const bContext *C, ARegion *region, Obj RegionView3D *old_rv3d = static_cast<RegionView3D *>(region->regiondata); RegionView3D rv3d; memcpy(&rv3d, old_rv3d, sizeof(RegionView3D)); + region->regiondata = &rv3d; Object *old_camera = v3d->camera; v3d->camera = object; |