EditableDatumLabel : Change the 'invisibleToMouse' to 'visibleToMouse' to avoid double negation.
Also add parameter to startEdit to set this setting. Defaulting to false. So that we don't have to set manually again and again in tool settings.
This commit is contained in:
@@ -529,7 +529,7 @@ void InteractiveScale::collectPoint(const SbVec3f& pos3d)
|
||||
|
||||
midPoint = (points[0] + points[1]) / 2;
|
||||
|
||||
measureLabel->startEdit(getDistance(points[1]), this);
|
||||
measureLabel->startEdit(getDistance(points[1]), this, true);
|
||||
|
||||
Q_EMIT enableApplyBtn();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user