Skip to content

Commit

Permalink
[all] Minor esthetic changes (#5129)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot authored Nov 20, 2024
1 parent 514b667 commit 4bfb1d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
namespace sofa::component::mapping::linear
{

/// concatanate several entire mechanical states together
/// Concatenate several mechanical states together
template <class TIn, class TOut>
class IdentityMultiMapping : public LinearMultiMapping<TIn, TOut>
{
Expand Down
6 changes: 4 additions & 2 deletions Sofa/GUI/Qt/src/sofa/gui/qt/DisplayFlagsDataWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ DisplayFlagWidget::DisplayFlagWidget(QWidget* parent, const char* name, Qt::Win
itemShowFlag[NORMALS] = new QTreeWidgetItem(itemShowOptions, itemShowFlag[WIREFRAME]);
this->setTreeWidgetCheckable(itemShowFlag[NORMALS], "Normals");
this->addTopLevelItem(itemShowAll);
itemShowAll->addChild(itemShowVisual); itemShowAll->setExpanded(true);
itemShowAll->setExpanded(true);
itemShowAll->addChild(itemShowVisual);
itemShowVisual->addChild(itemShowFlag[VISUALMODELS]);
itemShowAll->addChild(itemShowBehavior);
itemShowBehavior->addChild(itemShowFlag[BEHAVIORMODELS]);
Expand All @@ -112,7 +113,8 @@ DisplayFlagWidget::DisplayFlagWidget(QWidget* parent, const char* name, Qt::Win
itemShowMapping->addChild(itemShowFlag[MAPPINGS]);
itemShowMapping->addChild(itemShowFlag[MECHANICALMAPPINGS]);

this->addTopLevelItem(itemShowOptions); itemShowOptions->setExpanded(true);
this->addTopLevelItem(itemShowOptions);
itemShowOptions->setExpanded(true);
itemShowOptions->addChild(itemShowFlag[RENDERING]);
itemShowOptions->addChild(itemShowFlag[WIREFRAME]);
itemShowOptions->addChild(itemShowFlag[NORMALS]);
Expand Down

0 comments on commit 4bfb1d5

Please sign in to comment.