[TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp [TechDraw] Improve readability of DrawViewDimExtent.cpp [TechDraw] Improve readability of DrawViewDraft.cpp [TechDraw] Improve readability of DrawViewImage.cpp [TechDraw] Improve readability of DrawViewMulti.cpp
This commit is contained in:
committed by
WandererFan
parent
a1b7e3e33b
commit
7ee5be032d
@@ -69,19 +69,17 @@ DrawViewDraft::~DrawViewDraft()
|
||||
|
||||
short DrawViewDraft::mustExecute() const
|
||||
{
|
||||
short result = 0;
|
||||
if (!isRestoring()) {
|
||||
result = Source.isTouched() ||
|
||||
LineWidth.isTouched() ||
|
||||
FontSize.isTouched() ||
|
||||
Direction.isTouched() ||
|
||||
Color.isTouched() ||
|
||||
LineStyle.isTouched() ||
|
||||
LineSpacing.isTouched() ||
|
||||
OverrideStyle.isTouched();
|
||||
}
|
||||
if ((bool) result) {
|
||||
return result;
|
||||
if(Source.isTouched() ||
|
||||
LineWidth.isTouched() ||
|
||||
FontSize.isTouched() ||
|
||||
Direction.isTouched() ||
|
||||
Color.isTouched() ||
|
||||
LineStyle.isTouched() ||
|
||||
LineSpacing.isTouched() ||
|
||||
OverrideStyle.isTouched()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return DrawViewSymbol::mustExecute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user