X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_DeviceActor.cxx;fp=src%2FOBJECT%2FSMESH_DeviceActor.cxx;h=6f9e3e44cab8a2a4e818e4c6da0fb3bebddd397b;hb=cd8f63e177668f374f675a3163750e31abf2c4b6;hp=cf64055548d061995597599ddb4dd94a79305c8e;hpb=25b7d7ffe76e153c93cb67055192b11b16c3d0e2;p=modules%2Fsmesh.git diff --git a/src/OBJECT/SMESH_DeviceActor.cxx b/src/OBJECT/SMESH_DeviceActor.cxx index cf6405554..6f9e3e44c 100644 --- a/src/OBJECT/SMESH_DeviceActor.cxx +++ b/src/OBJECT/SMESH_DeviceActor.cxx @@ -297,7 +297,7 @@ SMESH_DeviceActor SMESH_ScalarBarActor* theScalarBarActor, vtkLookupTable* theLookupTable) { - bool anIsInitialized = theFunctor; + bool anIsInitialized = theFunctor != NULL; if(anIsInitialized){ vtkUnstructuredGrid* aDataSet = vtkUnstructuredGrid::New();