reload document: aspect ration or page count may change v_0 tip
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 12 Jan 2024 00:45:40 +0100
branchv_0
changeset 40 df1376ef9f6d
parent 39 2068a992e97e
reload document: aspect ration or page count may change
OHP3D.cpp
--- a/OHP3D.cpp	Sat Jan 06 01:06:28 2024 +0100
+++ b/OHP3D.cpp	Fri Jan 12 00:45:40 2024 +0100
@@ -641,6 +641,7 @@
 		// TODO: reload only changed document
 		textures.clear();
 		loadDocuments(false);
+		loadVertices(); // aspect ration or page count may change
 	}
 	return hasChanges;
 }