Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/01d2e3d96b8e88f2f7cf1bcdd0e5ca3d55c98ece?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
3 deletions
src/domain/UBGraphicsScene.cpp
@ -629,8 +629,8 @@ bool UBGraphicsScene::inputDeviceRelease()
if ( mCurrentStroke & & mCurrentStroke - > polygons ( ) . empty ( ) ) {
if ( mCurrentStroke & & mCurrentStroke - > polygons ( ) . empty ( ) ) {
delete mCurrentStroke ;
delete mCurrentStroke ;
mCurrentStroke = NULL ;
}
}
mCurrentStroke = NULL ;
return accepted ;
return accepted ;
}
}
@ -2302,10 +2302,12 @@ void UBGraphicsScene::setToolCursor(int tool)
if ( mCurrentStroke & & mCurrentStroke - > polygons ( ) . empty ( ) ) {
if ( mCurrentStroke & & mCurrentStroke - > polygons ( ) . empty ( ) ) {
delete mCurrentStroke ;
delete mCurrentStroke ;
mCurrentStroke = NULL ;
}
}
mCurrentStroke = NULL ;
}
}
void UBGraphicsScene : : initStroke ( ) {
void UBGraphicsScene : : initStroke ( )
{
mCurrentStroke = new UBGraphicsStroke ( ) ;
mCurrentStroke = new UBGraphicsStroke ( ) ;
}
}