PD: [skip ci] AddressSanitizer: stack-use-after-scope
Axis() returns a tmp. object and thus we cannot use a const reference to get its Location() method
This commit is contained in:
@@ -1696,7 +1696,7 @@ App::DocumentObjectExecReturn *Hole::execute(void)
|
||||
|
||||
Handle(Geom_Circle) circle = Handle(Geom_Circle)::DownCast(c);
|
||||
|
||||
const gp_Pnt& loc = circle->Axis().Location();
|
||||
gp_Pnt loc = circle->Axis().Location();
|
||||
|
||||
gp_Trsf sketchTransformation;
|
||||
gp_Trsf localSketchTransformation;
|
||||
|
||||
Reference in New Issue
Block a user