r16505 by fschmid - Some fixes for the AI importer.

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 25 11:50:23 CET 2011


Author: fschmid
Date: Fri Mar 25 10:50:23 2011
New Revision: 16505

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16505
Log:
Some fixes for the AI importer.

Modified:
    trunk/Scribus/scribus/plugins/import/ai/importai.cpp

Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16505&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp Fri Mar 25 10:50:23 2011
@@ -1507,8 +1507,6 @@
 					}
 					ite->setLineEnd(CapStyle);
 					ite->setLineJoin(JoinStyle);
-					if (importerFlags & LoadSavePlugin::lfCreateDoc)
-						ite->setLocked(itemLocked);
 					if (!WasU)
 					{
 						FPoint wh = getMaxClipF(&ite->PoLine);
@@ -1522,6 +1520,8 @@
 						Elements.append(ite);
 					if (groupStack.count() != 0)
 						groupStack.top().append(ite);
+					if (importerFlags & LoadSavePlugin::lfCreateDoc)
+						ite->setLocked(itemLocked);
 					
 				}
 				else
@@ -1535,6 +1535,8 @@
 				Coords.svgInit();
 				FirstU = false;
 				itemRendered = true;
+				CurrFillShade = 100.0;
+				CurrStrokeShade = 100.0;
 			}
 		}
 		else if (command == "*u")




More information about the scribus-commit mailing list