From: <xf...@us...> - 2012-04-19 21:09:18
|
Revision: 1388 http://scstudio.svn.sourceforge.net/scstudio/?rev=1388&view=rev Author: xfarmad Date: 2012-04-19 21:09:12 +0000 (Thu, 19 Apr 2012) Log Message: ----------- Modified Paths: -------------- branches/exportTexBranch/trunk/src/data/Z120/exportTex.cpp Modified: branches/exportTexBranch/trunk/src/data/Z120/exportTex.cpp =================================================================== --- branches/exportTexBranch/trunk/src/data/Z120/exportTex.cpp 2012-04-18 20:19:00 UTC (rev 1387) +++ branches/exportTexBranch/trunk/src/data/Z120/exportTex.cpp 2012-04-19 21:09:12 UTC (rev 1388) @@ -519,7 +519,7 @@ int ExportTex::save_bmsc(std::ostream& stream, const BMscPtr& bmsc) -{ +{ ElementListMap event_level_map; PtrIDMap<MscMessagePtr> message_id_map; // message instance identifiers PtrIDMap<EventPtr> event_id_map; // event identifiers @@ -598,7 +598,8 @@ //set up atributes //distance between instances - stream << "\\setlength{\\instdist}{" << instDist << "mm}" << std::endl; + stream << "\\setlength{\\instdist}{"<< instDist << "mm}" << std::endl; + if(!event_level_map.empty()){ //height just below head symbol stream << "\\setlength{\\firstlevelheight}{" << event_level_map.begin()->first << "mm}" << std::endl; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |