From 11a7fc26524dd9b59c5be1c63b51b837fe086e3d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 23 Nov 2021 13:16:58 +0200 Subject: [PATCH] viewport - target xyz. --- src/libs/vdxf/libdxfrw/libdxfrw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vdxf/libdxfrw/libdxfrw.cpp b/src/libs/vdxf/libdxfrw/libdxfrw.cpp index 0c1e84c28..0c5a5ca98 100644 --- a/src/libs/vdxf/libdxfrw/libdxfrw.cpp +++ b/src/libs/vdxf/libdxfrw/libdxfrw.cpp @@ -365,8 +365,8 @@ bool dxfRW::writeVport(DRW_Vport *ent){ writer->writeDouble(16, ent->viewDir.x); writer->writeDouble(26, ent->viewDir.y); writer->writeDouble(36, ent->viewDir.z); - writer->writeDouble(17, ent->viewTarget.z); - writer->writeDouble(27, ent->viewTarget.z); + writer->writeDouble(17, ent->viewTarget.x); + writer->writeDouble(27, ent->viewTarget.y); writer->writeDouble(37, ent->viewTarget.z); writer->writeDouble(40, ent->height); writer->writeDouble(41, ent->width);