mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 18:30:32 +05:00
Initialize myDeflection (and other fields) to avoid FPE at setting deflection
This commit is contained in:
parent
975caf67e2
commit
6c5c2bd009
@ -74,9 +74,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
GEOM_Actor::GEOM_Actor():
|
GEOM_Actor::GEOM_Actor():
|
||||||
|
isOnlyVertex(false),
|
||||||
|
|
||||||
|
myDeflection(-1),
|
||||||
|
myIsForced(false),
|
||||||
|
|
||||||
// myDisplayMode(eWireframe),
|
// myDisplayMode(eWireframe),
|
||||||
myIsSelected(false),
|
myIsSelected(false),
|
||||||
myVectorMode(false),
|
myVectorMode(false),
|
||||||
|
|
||||||
myVertexActor(GEOM_DeviceActor::New(),true),
|
myVertexActor(GEOM_DeviceActor::New(),true),
|
||||||
myVertexSource(GEOM_VertexSource::New(),true),
|
myVertexSource(GEOM_VertexSource::New(),true),
|
||||||
|
|
||||||
@ -101,8 +107,7 @@ GEOM_Actor::GEOM_Actor():
|
|||||||
|
|
||||||
myHighlightProp(vtkProperty::New()),
|
myHighlightProp(vtkProperty::New()),
|
||||||
myPreHighlightProp(vtkProperty::New()),
|
myPreHighlightProp(vtkProperty::New()),
|
||||||
myShadingFaceProp(vtkProperty::New()),
|
myShadingFaceProp(vtkProperty::New())
|
||||||
isOnlyVertex(false)
|
|
||||||
{
|
{
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG
|
||||||
MESSAGE (this<< " GEOM_Actor::GEOM_Actor");
|
MESSAGE (this<< " GEOM_Actor::GEOM_Actor");
|
||||||
|
Loading…
Reference in New Issue
Block a user