From 9c22e23f8f1a380a150cdeb6fc3798b22cea1022 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 11 Mar 2015 14:30:40 +0000 Subject: [PATCH] EgtGraphics 1.6b8 : - corretto errore con crash in snap point di superfici. --- EgtGraphics.rc | Bin 11580 -> 11580 bytes SceneSnap.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/EgtGraphics.rc b/EgtGraphics.rc index 466f66215bb813b13d574ed3d8aae046bac2e204..e561f8782fdae20b88a345b8db872180832f1d16 100644 GIT binary patch delta 96 zcmdlJwI^!BFE&Pt&4qG;%#0S33%PVRZ&37L+}y-%0ptUP_cKkd63l~0P5vNxV)H$r RZJ08fKS(yPpc~V}4FF?VAie+q delta 96 zcmdlJwI^!BFE&Q=&4qG;%#7xf3%PVRZ&37L+}y-%0ptUP_cKkd63l~0P5vNxV)H$r RZJ08fKS(yPpc~V}4FF-=AhrMi diff --git a/SceneSnap.cpp b/SceneSnap.cpp index 8e90280..c6bee61 100644 --- a/SceneSnap.cpp +++ b/SceneSnap.cpp @@ -588,7 +588,7 @@ Scene::FindSurfTMSnapPoint( int nSnap, const Point3d& ptWin, int nId, const Fram // cerco i triangoli intersecati dalla linea di mira ILSIVECTOR vInfo ; - if ( ! IntersLineSurfTm( ptMir, vtDir, dLenMir, *pStm, vInfo)) + if ( ! IntersLineSurfTm( ptMir, vtDir, dLenMir, *pStm, vInfo) || vInfo.size() == 0) return false ; // elaborazione a seconda del tipo di snap