Fixed return of bad reference to local variable from BedShapePanel::update_exclude_area()

This commit is contained in:
John Clark
2024-01-28 23:27:44 -05:00
parent 4888f01b47
commit 4bdbc32044
2 changed files with 2 additions and 2 deletions

View File

@@ -601,7 +601,7 @@ void BedShapePanel::update_shape()
}
//Y20
const std::vector<Vec2d>& BedShapePanel::update_exclude_area(ConfigOptionsGroupShp options_group)
const std::vector<Vec2d> BedShapePanel::update_exclude_area(ConfigOptionsGroupShp options_group)
{
Vec2d exclude_max(Vec2d::Zero());
Vec2d exclude_min(Vec2d::Zero());