]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
This commit was generated by cvs2git to create tag 'V0'. V0
authoradmin <salome-admin@opencascade.com>
Wed, 18 Feb 2009 15:56:01 +0000 (15:56 +0000)
committeradmin <salome-admin@opencascade.com>
Wed, 18 Feb 2009 15:56:01 +0000 (15:56 +0000)
Sprout from V5_1_sizemap 2009-02-18 15:56:00 UTC gdd <gdd> 'SIGSEGV corrected'
Cherrypick from V5_1_sizemap 2009-02-18 13:32:33 UTC nge <nge> 'First version of SizeMap for BLSurf :':
    src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
    src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx

index 6b91509556dcc5e721a3c9298580bbdc1fed4bdd..76787174de7d85b5410478be0e91a77aa1f17f47 100644 (file)
@@ -78,8 +78,13 @@ extern "C"{
 #include  <GeomSelectionTools.h>
 
 
-/* ==================================
- * ===========  PYTHON ==============
+/* ===========  PYTHON ==============
+ *
+ *
+ *  On est trop des brutes !
+ *
+ *
+ *
  * ==================================*/
 
 typedef struct {
@@ -669,10 +674,10 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
   cout << "End of Surface Mesh generation" << endl;
   cout << endl;
 
-  cout << "****************** U MIN: " << my_u_min << endl;
-  cout << "****************** V MIN: " << my_v_min << endl;
-  cout << "****************** U MAX: " << my_u_max << endl;
-  cout << "****************** V MAX: " << my_v_max << endl;
+    cout << "****************** U MIN: " << my_u_min << endl;
+    cout << "****************** V MIN: " << my_v_min << endl;
+    cout << "****************** U MAX: " << my_u_max << endl;
+    cout << "****************** V MAX: " << my_v_max << endl;
 
   mesh_t *msh;
   blsurf_data_get_mesh(bls, &msh);
index 58e4a74f7e65a798cfca9fc0a93578a349f6c605..d22a9416ee90d2e91529b51d7c9871fbc27a2051 100644 (file)
@@ -357,10 +357,8 @@ std::string  BLSURFPlugin_Hypothesis::GetSizeMapEntry(const std::string& entry)
 void BLSURFPlugin_Hypothesis::ClearEntry(const std::string& entry)
 {
  TSizeMap::iterator it  = _sizeMap.find( entry );
- if ( it != _sizeMap.end() ) {
+ if ( it != _sizeMap.end() )
    _sizeMap.erase(it);
-   NotifySubMeshesHypothesisModification();
- }
  else
    std::cout<<"No_Such_Entry"<<std::endl;
 }