Sketch: use the focal distance to determine a correct scale factor for SoDatumLabel

This fixes #7860: Dimensions get unreadable (small) if a 2nd sketch is visible
and fixes #7082: Dimension size on perspective view scales "backwards"
This commit is contained in:
wmayer
2022-11-24 10:21:59 +01:00
parent 29086e608a
commit b91cae4ee5
2 changed files with 8 additions and 2 deletions

View File

@@ -102,6 +102,7 @@
#include <Inventor/elements/SoViewportRegionElement.h>
#include <Inventor/actions/SoGetMatrixAction.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/elements/SoFocalDistanceElement.h>
#include <Inventor/elements/SoModelMatrixElement.h>
#include <Inventor/elements/SoProjectionMatrixElement.h>
#include <Inventor/elements/SoViewingMatrixElement.h>