Fem: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method] * Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft] * Missing emit keyword on signal call FemGui::PointMarker::PointsChanged [-Wclazy-incorrect-emit]
This commit is contained in:
@@ -56,7 +56,7 @@ ConstraintPulley::ConstraintPulley()
|
||||
"First belt force");
|
||||
ADD_PROPERTY_TYPE(BeltForce2,(0.0),"ConstraintPulley",App::PropertyType(App::Prop_ReadOnly|App::Prop_Output),
|
||||
"Second belt force");
|
||||
ForceAngle.setValue(00.0);
|
||||
ForceAngle.setValue(0.0);
|
||||
Diameter.setValue(300.0);
|
||||
// calculate initial values of read-only properties
|
||||
onChanged(&Force);
|
||||
@@ -64,7 +64,7 @@ ConstraintPulley::ConstraintPulley()
|
||||
|
||||
App::DocumentObjectExecReturn *ConstraintPulley::execute(void)
|
||||
{
|
||||
return ConstraintBearing::execute();
|
||||
return ConstraintGear::execute();
|
||||
}
|
||||
|
||||
void ConstraintPulley::onChanged(const App::Property* prop)
|
||||
|
||||
Reference in New Issue
Block a user