PAL16892 (impossible to create Distribution of Layers hypothesis, for Radial Prism 3D algorithm)

-  myHypTypes = SMESH::GetAvailableHypotheses( false, 0 );
+  myHypTypes = SMESH::GetAvailableHypotheses( false, 1 );
This commit is contained in:
eap 2007-09-11 13:33:17 +00:00
parent a97aac6c22
commit a78f064b8c

View File

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