mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 04:10:34 +05:00
0021905: EDF SMESH: Impossible to add a face without layers with "viscous layers"
This commit is contained in:
parent
f3d031f77d
commit
65de7c2a91
@ -98,6 +98,12 @@ number of segments on each edge</li>
|
||||
<li><b>Area precision</b> - allows to adjust input precision of mesh element area.</li>
|
||||
<li><b>Volume precision</b> - allows to adjust input precision of mesh element volume.</li>
|
||||
</ul>
|
||||
<li><b>Preview</b></li>
|
||||
<ul>
|
||||
<li><b>Sub-shapes preview chunk size</b> - allows to limit the number
|
||||
of preview sub-shapes shown in the hypotheses creation dialog boxes,
|
||||
for example "Reverse Edges" parameter of \ref number_of_segments_anchor "Number of segments" hypothesis.
|
||||
</ul>
|
||||
<li><b>Python Dump</b></li>
|
||||
<ul>
|
||||
<li><b>Historical python dump</b> checkbox allows switching between
|
||||
|
@ -77,7 +77,7 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape,
|
||||
myMapOfShapes.Clear();
|
||||
myIndices.clear();
|
||||
myCurrentChunk = 0;
|
||||
myChunkSize = mgr->integerValue( "SMESH", "preview_actor_chunk_size", 100 );
|
||||
myChunkSize = qMax(1, mgr->integerValue( "SMESH", "preview_actor_chunk_size", 100 ) );
|
||||
|
||||
if ( theShape.IsNull() )
|
||||
return false;
|
||||
|
@ -4751,7 +4751,7 @@ void SMESHGUI::createPreferences()
|
||||
int previewGroup = addPreference( tr( "SMESH_PREF_GROUP_PREVIEW" ), genTab );
|
||||
setPreferenceProperty( previewGroup, "columns", 2 );
|
||||
int chunkSize = addPreference( tr( "PREF_PREVIEW_CHUNK_SIZE" ), previewGroup, LightApp_Preferences::IntSpin, "SMESH", "preview_actor_chunk_size" );
|
||||
setPreferenceProperty( chunkSize, "min", 0 );
|
||||
setPreferenceProperty( chunkSize, "min", 1 );
|
||||
setPreferenceProperty( chunkSize, "max", 1000 );
|
||||
setPreferenceProperty( chunkSize, "step", 50 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user