[TD]prevent spurious recompute on click/drag
This commit is contained in:
committed by
WandererFan
parent
714be34961
commit
3f34fff3c3
@@ -98,6 +98,13 @@ short DrawProjGroupItem::mustExecute() const
|
||||
|
||||
void DrawProjGroupItem::onChanged(const App::Property *prop)
|
||||
{
|
||||
if ((prop == &X) ||
|
||||
(prop == &Y)) {
|
||||
DrawProjGroup* parent = getPGroup();
|
||||
if (parent != nullptr) {
|
||||
parent->touch(false);
|
||||
}
|
||||
}
|
||||
TechDraw::DrawViewPart::onChanged(prop);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user