1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

0022945: AIS_InteractiveObject: Initialization bug

This commit is contained in:
Pawel, DBV 2012-02-17 07:48:50 +00:00 committed by bugmaster
parent f721b0e03e
commit a0ed63ac93

View File

@ -57,16 +57,20 @@ SelectMgr_SelectableObject(aTypeOfPresentation3d),
myDrawer(new AIS_Drawer()), myDrawer(new AIS_Drawer()),
myTransparency(0.), myTransparency(0.),
myOwnColor(Quantity_NOC_WHITE), myOwnColor(Quantity_NOC_WHITE),
myOwnMaterial(Graphic3d_NOM_DEFAULT),
myHilightMode(-1), myHilightMode(-1),
myOwnWidth(0.0), myOwnWidth(0.0),
myInfiniteState(Standard_False), myInfiniteState(Standard_False),
hasOwnColor(Standard_False), hasOwnColor(Standard_False),
hasOwnMaterial(Standard_False), hasOwnMaterial(Standard_False),
myCurrentFacingModel(Aspect_TOFM_BOTH_SIDE),
myRecomputeEveryPrs(Standard_True), myRecomputeEveryPrs(Standard_True),
myCTXPtr(NULL),
mySelPriority(-1), mySelPriority(-1),
myDisplayMode (-1), myDisplayMode (-1),
mySelectionMode(0), mySelectionMode(0),
mystate(0) mystate(0),
myHasTransformation(Standard_False)
{ {
Handle (AIS_InteractiveContext) Bid; Handle (AIS_InteractiveContext) Bid;
myCTXPtr = Bid.operator->(); myCTXPtr = Bid.operator->();