Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -6,6 +6,14 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2024-09-10 Ivana Hrivnacova (geomvol-V11-02-04)
|
||||
- Coverity fix in G4ReflectionFactory:
|
||||
Do not pass the same G4VisAttributes object to the reflected LV
|
||||
|
||||
## 2024-08-07 Gabriele Cosmo (geomvol-V11-02-03)
|
||||
- Access G4GeometryManager singleton through its GetInstance() in
|
||||
G4AssemblyStore.
|
||||
|
||||
## 2024-04-02 Gabriele Cosmo (geomvol-V11-02-02)
|
||||
- Applied trivial clang-tidy fixes to G4AssemblyStore, i.e. removed
|
||||
unnecessary 'if' check for null pointer in Clean() method.
|
||||
|
||||
@@ -70,7 +70,7 @@ void G4AssemblyStore::Clean()
|
||||
{
|
||||
// Do nothing if geometry is closed
|
||||
//
|
||||
if (G4GeometryManager::IsGeometryClosed())
|
||||
if (G4GeometryManager::GetInstance()->IsGeometryClosed())
|
||||
{
|
||||
G4cout << "WARNING - Attempt to delete the assembly store"
|
||||
<< " while geometry closed !" << G4endl;
|
||||
|
||||
@@ -424,7 +424,10 @@ G4LogicalVolume* G4ReflectionFactory::CreateReflectedLV(G4LogicalVolume* LV)
|
||||
LV->GetFieldManager(),
|
||||
LV->GetSensitiveDetector(),
|
||||
LV->GetUserLimits());
|
||||
refLV->SetVisAttributes(LV->GetVisAttributes()); // vis-attributes
|
||||
|
||||
if (LV->GetVisAttributes() != nullptr) {
|
||||
refLV->SetVisAttributes(*LV->GetVisAttributes()); // vis-attributes
|
||||
}
|
||||
refLV->SetBiasWeight(LV->GetBiasWeight()); // biasing weight
|
||||
if (LV->IsRegion())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user