We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I select multi Measurement items then move these item, the program crashed!
it seems the function "moveCoordinatesBy" has a bug: forget adding "prepareGeometryChange"
void QtAnnotation::moveCoordinatesBy(const Point& moveBy) { // should add prepareGeometryChange ; std::vector coords = _annotation->getCoordinates(); for (std::vector::iterator it = coords.begin(); it != coords.end(); ++it) { it->setX(it->getX() + moveBy.getX() / _scale); it->setY(it->getY() + moveBy.getY() / _scale); } _annotation->setCoordinates(coords); this->setPos(QPointF(coords[0].getX()_scale, coords[0].getY()_scale)); onAnnotationChanged(); emit annotationChanged(this); }
void QtAnnotation::onAnnotationChanged() { return; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I select multi Measurement items then move these item, the program crashed!
it seems the function "moveCoordinatesBy" has a bug:
forget adding "prepareGeometryChange"
void QtAnnotation::moveCoordinatesBy(const Point& moveBy) {
// should add prepareGeometryChange ;
std::vector coords = _annotation->getCoordinates();
for (std::vector::iterator it = coords.begin(); it != coords.end(); ++it) {
it->setX(it->getX() + moveBy.getX() / _scale);
it->setY(it->getY() + moveBy.getY() / _scale);
}
_annotation->setCoordinates(coords);
this->setPos(QPointF(coords[0].getX()_scale, coords[0].getY()_scale));
onAnnotationChanged();
emit annotationChanged(this);
}
void QtAnnotation::onAnnotationChanged() {
return;
}
The text was updated successfully, but these errors were encountered: