Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -78,7 +78,11 @@ SoBox::~SoBox() {
|
||||
// initClass
|
||||
void SoBox::initClass(){
|
||||
// This statement is required.
|
||||
SO_NODE_INIT_CLASS(SoBox,SoShape,"Shape");
|
||||
static bool first = true;
|
||||
if (first) {
|
||||
first = false;
|
||||
SO_NODE_INIT_CLASS(SoBox,SoShape,"Shape");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user