0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing...
[occt.git] / src / MeshVS / MeshVS_Mesh.cxx
index 883fb47..315d2b9 100644 (file)
@@ -361,7 +361,7 @@ void MeshVS_Mesh::ComputeSelection ( const Handle(SelectMgr_Selection)& theSelec
                 aSharedNodes.Add( aElemNodes( i ) );
               }
 
-              anEnt = new Select3D_SensitiveFace( myWholeMeshOwner, Points );
+              anEnt = new Select3D_SensitiveFace( myWholeMeshOwner, Points, Select3D_TOS_INTERIOR);
               theSelection->Add( anEnt );
             }
           }