[commit] r1292 - trunk/SDK/DecoratorLib

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Apr 27 16:29:37 CDT 2011


Author: ksmyth
Date: Wed Apr 27 16:29:37 2011
New Revision: 1292

Log:
Fix ASSERT: need to super.InitializeEx before using m_spFCO or m_spMetaFCO

Modified:
   trunk/SDK/DecoratorLib/BitmapPart.cpp

Modified: trunk/SDK/DecoratorLib/BitmapPart.cpp
==============================================================================
--- trunk/SDK/DecoratorLib/BitmapPart.cpp	Wed Apr 27 12:43:54 2011	(r1291)
+++ trunk/SDK/DecoratorLib/BitmapPart.cpp	Wed Apr 27 16:29:37 2011	(r1292)
@@ -154,6 +154,8 @@
 		}
 	}
 
+	VectorPart::InitializeEx(pProject, pPart, pFCO, parentWnd, preferences);
+
 	m_bRoundCornerRect = false;
 	it = preferences.find(PREF_ROUNDCORNERRECT);
 	if (it != preferences.end()) {
@@ -170,8 +172,6 @@
 		getFacilities().getPreference(m_spFCO, m_spMetaFCO, PREF_ROUNDCORNERRADIUS, m_bRoundCornerRadius, false);
 	}
 
-	VectorPart::InitializeEx(pProject, pPart, pFCO, parentWnd, preferences);
-
 	if (m_bCastShadow) {
 		SimpleCoordCommand* leftMost		= new SimpleCoordCommand(LeftMost);
 		SimpleCoordCommand* topMost			= new SimpleCoordCommand(TopMost);


More information about the gme-commit mailing list