PartDesign module moving float -> double

This commit is contained in:
jrheinlaender
2013-03-25 17:42:29 +04:30
parent 4c0781a555
commit 8df84e76c4
13 changed files with 35 additions and 35 deletions

View File

@@ -124,7 +124,7 @@ TaskRevolutionParameters::TaskRevolutionParameters(ViewProviderRevolution *Revol
void TaskRevolutionParameters::onAngleChanged(double len)
{
PartDesign::Revolution* pcRevolution = static_cast<PartDesign::Revolution*>(RevolutionView->getObject());
pcRevolution->Angle.setValue((float)len);
pcRevolution->Angle.setValue(len);
if (updateView())
pcRevolution->getDocument()->recomputeFeature(pcRevolution);
}
@@ -187,7 +187,7 @@ void TaskRevolutionParameters::onUpdateView(bool on)
{
if (on) {
PartDesign::Revolution* pcRevolution = static_cast<PartDesign::Revolution*>(RevolutionView->getObject());
pcRevolution->getDocument()->recomputeFeature(pcRevolution);
pcRevolution->getDocument()->recomputeFeature(pcRevolution);
}
}