viewport - target xyz.

This commit is contained in:
Roman Telezhynskyi 2021-11-23 13:16:58 +02:00
parent 6a219c5ed4
commit 11a7fc2652

View File

@ -365,8 +365,8 @@ bool dxfRW::writeVport(DRW_Vport *ent){
writer->writeDouble(16, ent->viewDir.x); writer->writeDouble(16, ent->viewDir.x);
writer->writeDouble(26, ent->viewDir.y); writer->writeDouble(26, ent->viewDir.y);
writer->writeDouble(36, ent->viewDir.z); writer->writeDouble(36, ent->viewDir.z);
writer->writeDouble(17, ent->viewTarget.z); writer->writeDouble(17, ent->viewTarget.x);
writer->writeDouble(27, ent->viewTarget.z); writer->writeDouble(27, ent->viewTarget.y);
writer->writeDouble(37, ent->viewTarget.z); writer->writeDouble(37, ent->viewTarget.z);
writer->writeDouble(40, ent->height); writer->writeDouble(40, ent->height);
writer->writeDouble(41, ent->width); writer->writeDouble(41, ent->width);