0029140: Samples - Viewer is not updated in MFC Modeling and Viewer3D samples
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / Viewer3dDoc.cpp
index 92feff1..aebda0d 100755 (executable)
@@ -196,7 +196,7 @@ void CViewer3dDoc::OnSphere()
     myAISContext->SetMaterial (mySphere, Graphic3d_NOM_BRONZE, Standard_False);
     myAISContext->SetDisplayMode (mySphere, 1, Standard_False);
 
-    myAISContext->Display (mySphere, Standard_False);
+    myAISContext->Display (mySphere, Standard_True);
     TCollection_AsciiString Message("\
 BRepPrimAPI_MakeSphere S(gp_Pnt(0,300,0), 100.);\n\
     ");