Salome HOME
more comments
authoreap <eap@opencascade.com>
Fri, 15 Nov 2013 13:43:38 +0000 (13:43 +0000)
committereap <eap@opencascade.com>
Fri, 15 Nov 2013 13:43:38 +0000 (13:43 +0000)
src/Controls/SMESH_Controls.cxx

index 695eaa5b240d3eecfd713c8627f8be1bb73a0663..e7e61b1132ced57e492509ed67d9371d752296b8 100644 (file)
@@ -307,7 +307,7 @@ double NumericalFunctor::GetValue( long theId )
   myCurrElement = myMesh->FindElement( theId );
 
   TSequenceOfXYZ P;
-  if ( GetPoints( theId, P ))
+  if ( GetPoints( theId, P )) // elem type is checked here
     aVal = Round( GetValue( P ));
 
   return aVal;