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.

fixed issue with strokes made using a pen

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent ea025a5f6d
commit 01d2e3d96b
  1. 8
      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();
} }

Loading…
Cancel
Save