PVS: V519 Variable is assigned values twice successively
This commit is contained in:
@@ -863,8 +863,7 @@ bool TaskDlgFemConstraintFluidBoundary::accept()
|
||||
//Reverse control is done at BoundaryType selection, this UI is hidden from user
|
||||
//Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Reversed = %s", name.c_str(), boundary->getReverse() ? "True" : "False");
|
||||
|
||||
std::string scale = "1";
|
||||
scale = boundary->getScale(); //OvG: determine modified scale
|
||||
std::string scale = boundary->getScale(); //OvG: determine modified scale
|
||||
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.Scale = %s", name.c_str(), scale.c_str()); //OvG: implement modified scale
|
||||
|
||||
// solver specific setting, physical model selection
|
||||
|
||||
@@ -228,7 +228,7 @@ CmdViewTriangulation::CmdViewTriangulation()
|
||||
sGroup = QT_TR_NOOP("Reverse Engineering");
|
||||
sMenuText = QT_TR_NOOP("Structured point clouds");
|
||||
sToolTipText = QT_TR_NOOP("Triangulation of structured point clouds");
|
||||
sToolTipText = QT_TR_NOOP("Triangulation of structured point clouds");
|
||||
sStatusTip = QT_TR_NOOP("Triangulation of structured point clouds");
|
||||
sWhatsThis = "Reen_ViewTriangulation";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user