]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL16892 (impossible to create Distribution of Layers hypothesis, for Radial Prism...
authoreap <eap@opencascade.com>
Tue, 11 Sep 2007 13:31:46 +0000 (13:31 +0000)
committereap <eap@opencascade.com>
Tue, 11 Sep 2007 13:31:46 +0000 (13:31 +0000)
-  myHypTypes = SMESH::GetAvailableHypotheses( false, 0 );
+  myHypTypes = SMESH::GetAvailableHypotheses( false, 1 );

src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx

index ed77aaf61b21284e99c5df0680737f7de390ad5c..6b66fa066f56767cf3ab2803b58199a6d0732757 100644 (file)
@@ -121,7 +121,7 @@ void StdMeshersGUI_LayerDistributionParamWdg::init()
   // Add to pop-up hypotheses of "Regular_1D" algo
   myHypTypePopup->clear();
   HypothesisData* algoData = SMESH::GetHypothesisData( "Regular_1D" );
-  myHypTypes = SMESH::GetAvailableHypotheses( false, 0 );
+  myHypTypes = SMESH::GetAvailableHypotheses( false, 1 );
   QStringList::const_iterator anIter = myHypTypes.begin();
   for ( ; anIter != myHypTypes.end(); ++anIter )
   {