r23801 by craig - Undo bad isBlahFrame conversion

scribus-commit scribus-commit at lists.scribus.net
Wed May 13 04:46:36 UTC 2020


Author: craig
Date: Wed May 13 04:46:36 2020
New Revision: 23801

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23801
Log:
Undo bad isBlahFrame conversion

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23801&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp	Wed May 13 04:46:36 2020
@@ -5043,7 +5043,7 @@
 #ifdef HAVE_OSG
 			if (currItem->isOSGFrame())
 			{
-				PageItem_OSGFrame *osgframe = currItem->isOSGFrame();
+				PageItem_OSGFrame *osgframe = currItem->asOSGFrame();
 				osgframe->modelFile = Relative2Path(attrs.valueAsString("modelFile"), baseDir);
 				osgframe->currentView = attrs.valueAsString("currentViewName", "");
 				osgframe->loadModel();




More information about the scribus-commit mailing list