mapeditor.cpp
changeset 595 0bd62e09d061
parent 571 bc9083a4a7fb
child 600 a9fe976e01a6
     1.1 --- a/mapeditor.cpp	Tue Sep 04 13:53:33 2007 +0000
     1.2 +++ b/mapeditor.cpp	Tue Sep 04 13:53:33 2007 +0000
     1.3 @@ -4153,6 +4153,12 @@
     1.4  	
     1.5  void MapEditor::testFunction2()
     1.6  {
     1.7 +	LinkableMapObj *lmo=xelection.getBranch();
     1.8 +	if (lmo) 
     1.9 +	{
    1.10 +		cout << "LMO::id="<<lmo->getID().ascii()<<endl;
    1.11 +		cout << " BO::id="<<((BranchObj*)lmo)->getID().ascii()<<endl;
    1.12 +	}	
    1.13  }
    1.14  
    1.15  void MapEditor::contextMenuEvent ( QContextMenuEvent * e )