Index: trunk/ppSim/src/ppSimInsertGalaxies.c
===================================================================
--- trunk/ppSim/src/ppSimInsertGalaxies.c	(revision 36862)
+++ trunk/ppSim/src/ppSimInsertGalaxies.c	(revision 36868)
@@ -145,5 +145,5 @@
 	    axes.minor       = galaxy->Rmin;
 	    axes.theta       = galaxy->theta;
-	    pmPSF_AxesToModel (PAR, axes, type);
+	    pmPSF_AxesToModel (PAR, axes, model->class->useReff);
 	}
 	psF64 Area = 2.0 * M_PI * galaxy->Rmaj * galaxy->Rmin;
Index: trunk/ppSim/src/ppSimInsertStars.c
===================================================================
--- trunk/ppSim/src/ppSimInsertStars.c	(revision 36862)
+++ trunk/ppSim/src/ppSimInsertStars.c	(revision 36868)
@@ -126,5 +126,5 @@
 	// XXX set the mag & err values (should this be done in pmSourceFromModel?)
 	// XXX i should be applying the gain and the correct effective area
-	psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->type);
+	psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->class->useReff);
 	float Area = 2.0 * M_PI * axes.major * axes.minor;
 
