Skip to content

Commit

Permalink
#4633 Address the crashes with groups of submodels
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 authored and dkulp committed Jul 14, 2024
1 parent bbdf2e0 commit 2c4a4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xLights/LayoutPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ void LayoutPanel::UpdateModelsForPreview(const std::string &group, LayoutGroup*
}
if (m->DisplayAs == "SubModel") {
if (mark_selected) {
prev_models.push_back(m); // setting this causes exception when prev_models render finds a submodel
// prev_models.push_back(m); // setting this causes exception when prev_models render finds a submodel
}
}
else if (m->DisplayAs == "ModelGroup") {
Expand Down

0 comments on commit 2c4a4c6

Please sign in to comment.