//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
}
if(argc != 2) {
- di << "Usage : " << argv[0] << " 0/1" << "\n";
+ di << "Usage : " << argv[0] << " 0/1\n";
}
if(Draw::Atoi(argv[1]) == 0) {
{
theObject1 = new QABugs_PresentableObject();
theObject1->SetDisplayMode(0);
- myAISContext->Display(theObject1);
+ myAISContext->Display (theObject1, Standard_True);
}
} else if(Draw::Atoi(argv[1]) == 1) {
if ( theObject2.IsNull() )
{
theObject2 = new QABugs_PresentableObject();
theObject2->SetDisplayMode(1);
- myAISContext->Display(theObject2);
+ myAISContext->Display (theObject2, Standard_True);
}
} else {
- di << "Usage : " << argv[0] << " 0/1" << "\n";
+ di << "Usage : " << argv[0] << " 0/1\n";
return -1;
}
return 0;