Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -315,7 +315,7 @@ public:
|
||||
//
|
||||
// Only do this if there are end-of-event models (e.g., trajectories) that
|
||||
// may require it.
|
||||
if (fSceneHandler.GetScene()->GetEndOfEventModelList().size()) {
|
||||
if (fSceneHandler.GetScene() && fSceneHandler.GetScene()->GetEndOfEventModelList().size()) {
|
||||
fNeedKernelVisit = true;
|
||||
DrawView(); // Draw trajectories, etc., from kept events
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user