Bug #3402

Region not copied in spatial diffuse map model

Added by Knödlseder Jürgen over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:10/15/2020
Priority:UrgentDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.7.2
Duration:

Description

The region information is not copied in the GModelSpatialDiffuseMap copy constructor. The reason is that in the GModelSpatialDiffuse base class copy constructor,

GModelSpatialDiffuse::GModelSpatialDiffuse(const GModelSpatialDiffuse& model) : GModelSpatial()
the model in not in the invoked base class constructor. The correct code is
<pre><code class="cpp">
GModelSpatialDiffuse::GModelSpatialDiffuse(const GModelSpatialDiffuse& model) : GModelSpatial(model)
</code><pre>


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen over 3 years ago

I created a new bugfix-1.7.2 branch and fixed the problem. The change was also merged into the integration branch.

#2 Updated by Knödlseder Jürgen over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

The bugfix-1.7.2 release is in preparation.

Also available in: Atom PDF