[TD]review comments and rebase for PR7197

This commit is contained in:
Wanderer Fan
2022-07-20 11:53:21 -04:00
committed by WandererFan
parent 5fcea95ed1
commit cc2648b399
4 changed files with 7 additions and 3 deletions

View File

@@ -122,13 +122,14 @@ App::DocumentObjectExecReturn *DrawViewClip::execute(void)
return DrawView::execute();
}
//NOTE: DocumentObject::mustExecute returns 1/0 and not true/false
short DrawViewClip::mustExecute() const
{
if (!isRestoring()) {
if (Height.isTouched() ||
Width.isTouched() ||
Views.isTouched()) {
return true;
return 1;
}
}
return TechDraw::DrawView::mustExecute();