Clean-up code and improve formatting

This commit is contained in:
wmayer
2024-06-17 15:55:53 +02:00
committed by wwmayer
parent dafdb2c1f2
commit 80670094eb
6 changed files with 47 additions and 63 deletions

View File

@@ -172,8 +172,8 @@ void ViewProviderSections::highlightReferences(ShapeType type, const References&
// check again that the index is in range because it's possible that
// the sub-names are invalid
if (idx < materials.size()) {
materials[idx].diffuseColor =
App::Color(1.0, 0.0, 1.0); // magenta
// magenta
materials[idx].diffuseColor = App::Color(1.0, 0.0, 1.0);
}
}