From: Mike G. v. a. <we...@ma...> - 2007-10-28 16:41:56
|
Log Message: ----------- Added explicit loadMacros("MathObject.pl") to handle webwork questions which don't use math objects for any other purpose other than graphs. CVS: ---------------------------------------------------------------------- Modified Files: -------------- pg/macros: PGgraphmacros.pl Revision Data ------------- Index: PGgraphmacros.pl =================================================================== RCS file: /webwork/cvs/system/pg/macros/PGgraphmacros.pl,v retrieving revision 1.7 retrieving revision 1.8 diff -Lmacros/PGgraphmacros.pl -Lmacros/PGgraphmacros.pl -u -r1.7 -r1.8 --- macros/PGgraphmacros.pl +++ macros/PGgraphmacros.pl @@ -47,6 +47,8 @@ # 'axes' ######################################################### +loadMacros("MathObjects.pl"); # need this to handle problems that don't otherwise use MathObjects + my %images_created = (); # this keeps track of the base names of the images created during this session. # We tack on # $imageNum = ++$images_created{$imageName} to keep from overwriting files |