r21793 by jghali - #14638: fix also "path connect"
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 22 18:57:44 UTC 2017
Author: jghali
Date: Wed Feb 22 18:57:43 2017
New Revision: 21793
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21793
Log:
#14638: fix also "path connect"
Modified:
branches/Version14x/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21793&path=/branches/Version14x/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp Wed Feb 22 18:57:43 2017
@@ -127,7 +127,10 @@
Item1->Frame = false;
Item1->ClipEdited = true;
Item1->FrameType = 3;
+ int oldRotMode = currDoc->RotMode;
+ currDoc->RotMode = 0;
currDoc->AdjustItemSize(Item1);
+ currDoc->RotMode = oldRotMode;
Item1->OldB2 = Item1->width();
Item1->OldH2 = Item1->height();
Item1->updateClip();
@@ -143,7 +146,10 @@
Item1->ClipEdited = true;
Item1->FrameType = 3;
Item1->setXYPos(originalXPos, originalYPos);
+ int oldRotMode = currDoc->RotMode;
+ currDoc->RotMode = 0;
currDoc->AdjustItemSize(Item1);
+ currDoc->RotMode = oldRotMode;
Item1->OldB2 = Item1->width();
Item1->OldH2 = Item1->height();
Item1->updateClip();
@@ -174,7 +180,10 @@
Item1->ClipEdited = true;
Item1->FrameType = 3;
}
+ int oldRotMode = currDoc->RotMode;
+ currDoc->RotMode = 0;
currDoc->AdjustItemSize(Item1);
+ currDoc->RotMode = oldRotMode;
Item1->OldB2 = Item1->width();
Item1->OldH2 = Item1->height();
Item1->updateClip();
More information about the scribus-commit
mailing list