mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
One more compilation error on Mageia 5
This commit is contained in:
parent
cd8f63e177
commit
8348eecb6b
@ -363,7 +363,7 @@ SMESH_DeviceActor
|
||||
SMESH_ScalarBarActor* theScalarBarActor,
|
||||
vtkLookupTable* theLookupTable)
|
||||
{
|
||||
bool anIsInitialized = theFunctor;
|
||||
bool anIsInitialized = theFunctor != NULL;
|
||||
myExtractUnstructuredGrid->ClearRegisteredCells();
|
||||
myExtractUnstructuredGrid->ClearRegisteredCellsWithType();
|
||||
myExtractUnstructuredGrid->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::ePassAll);
|
||||
|
@ -407,8 +407,8 @@ namespace {
|
||||
if ( nbQuads > 0 )
|
||||
toRemove = helper->IsStructured( faceSm );
|
||||
else
|
||||
toRemove = quadAlgo->CheckNbEdges( *helper->GetMesh(),
|
||||
faceSm->GetSubShape() );
|
||||
toRemove = ( quadAlgo->CheckNbEdges( *helper->GetMesh(),
|
||||
faceSm->GetSubShape() ) != NULL );
|
||||
nbRemoved += toRemove;
|
||||
if ( toRemove )
|
||||
smIt = notQuadSubMesh.erase( smIt );
|
||||
|
Loading…
Reference in New Issue
Block a user