mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 10:37:28 +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,
|
SMESH_ScalarBarActor* theScalarBarActor,
|
||||||
vtkLookupTable* theLookupTable)
|
vtkLookupTable* theLookupTable)
|
||||||
{
|
{
|
||||||
bool anIsInitialized = theFunctor;
|
bool anIsInitialized = theFunctor != NULL;
|
||||||
myExtractUnstructuredGrid->ClearRegisteredCells();
|
myExtractUnstructuredGrid->ClearRegisteredCells();
|
||||||
myExtractUnstructuredGrid->ClearRegisteredCellsWithType();
|
myExtractUnstructuredGrid->ClearRegisteredCellsWithType();
|
||||||
myExtractUnstructuredGrid->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::ePassAll);
|
myExtractUnstructuredGrid->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::ePassAll);
|
||||||
|
@ -407,8 +407,8 @@ namespace {
|
|||||||
if ( nbQuads > 0 )
|
if ( nbQuads > 0 )
|
||||||
toRemove = helper->IsStructured( faceSm );
|
toRemove = helper->IsStructured( faceSm );
|
||||||
else
|
else
|
||||||
toRemove = quadAlgo->CheckNbEdges( *helper->GetMesh(),
|
toRemove = ( quadAlgo->CheckNbEdges( *helper->GetMesh(),
|
||||||
faceSm->GetSubShape() );
|
faceSm->GetSubShape() ) != NULL );
|
||||||
nbRemoved += toRemove;
|
nbRemoved += toRemove;
|
||||||
if ( toRemove )
|
if ( toRemove )
|
||||||
smIt = notQuadSubMesh.erase( smIt );
|
smIt = notQuadSubMesh.erase( smIt );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user