Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/6ec28ed726a56bff566580fcb74edb34f9e7faf8?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
9 deletions
src/domain/UBGraphicsScene.cpp
@ -859,15 +859,10 @@ void UBGraphicsScene::eraseLineTo(const QPointF &pEndPoint, const qreal &pWidth)
// Then we substract the eraser path to the polygon and we simplify it
// Then we substract the eraser path to the polygon and we simplify it
/**/
/**/
QTransform polyTransform = collidingPolygonItem - > sceneTransform ( ) ;
QTransform polyTransform = collidingPolygonItem - > sceneTransform ( ) . inverted ( ) ;
QPointF mTrPrevPoint ;
QPointF mTrPrevPoint = polyTransform . map ( mPreviousPoint ) ;
QPointF mTrEndPoint ;
QPointF mTrEndPoint = polyTransform . map ( pEndPoint ) ;
// TODO: Handle the scale & rotation transform here
mTrPrevPoint . setX ( mPreviousPoint . x ( ) - polyTransform . dx ( ) ) ;
mTrPrevPoint . setY ( mPreviousPoint . y ( ) - polyTransform . dy ( ) ) ;
mTrEndPoint . setX ( pEndPoint . x ( ) - polyTransform . dx ( ) ) ;
mTrEndPoint . setY ( pEndPoint . y ( ) - polyTransform . dy ( ) ) ;
const QLineF trLine ( mTrPrevPoint , mTrEndPoint ) ;
const QLineF trLine ( mTrPrevPoint , mTrEndPoint ) ;
const QPolygonF trEraserPolygon = UBGeometryUtils : : lineToPolygon ( trLine , pWidth ) ;
const QPolygonF trEraserPolygon = UBGeometryUtils : : lineToPolygon ( trLine , pWidth ) ;