Miscellaneous fixes
This commit is contained in:
parent
2aea9bbf96
commit
f6fb4814d1
|
@ -130,8 +130,6 @@ Line::~Line()
|
|||
|
||||
void Line::onChanged(const App::Property *prop)
|
||||
{
|
||||
Datum::onChanged(prop);
|
||||
|
||||
if (prop == &References) {
|
||||
refTypes.clear();
|
||||
std::vector<App::DocumentObject*> refs = References.getValues();
|
||||
|
|
|
@ -153,8 +153,6 @@ ADD_PROPERTY_TYPE(_Normal,(Base::Vector3d(1,1,1)),"DatumPlane",
|
|||
|
||||
void Plane::onChanged(const App::Property *prop)
|
||||
{
|
||||
Datum::onChanged(prop);
|
||||
|
||||
if (prop == &Angle) {
|
||||
// Zero value counts as angle not defined
|
||||
if (fabs(Angle.getValue()) > Precision::Confusion())
|
||||
|
|
|
@ -111,7 +111,7 @@ TaskDatumParameters::TaskDatumParameters(ViewProviderDatum *DatumView,QWidget *p
|
|||
connect(ui->spinAngle, SIGNAL(valueChanged(double)),
|
||||
this, SLOT(onAngleChanged(double)));
|
||||
connect(ui->checkBoxFlip, SIGNAL(toggled(bool)),
|
||||
this, SLOT(onCheckBox1(bool)));
|
||||
this, SLOT(onCheckFlip(bool)));
|
||||
connect(ui->buttonRef1, SIGNAL(pressed()),
|
||||
this, SLOT(onButtonRef1()));
|
||||
connect(ui->lineRef1, SIGNAL(textEdited(QString)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user