Changeset - 0c49e452410f
[Not reviewed]
default
0 2 0
Roeland Merks - 15 years ago 2010-05-26 16:24:52
roeland.merks@cwi.nl
After default initialization two polygons were constructed. Corrected.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/VirtualLeaf.cpp
Show inline comments
 
@@ -499,24 +499,25 @@ int main(int argc,char **argv) {
 
	  foreach (SimPluginInterface *p, plugins) {
 
		  cerr << p->ModelID().toStdString() << endl;
 
	  }
 
	  */
 

	
 
	 	  
 
    // Install model or read catalogue of models
 
    ModelCatalogue model_catalogue(&mesh, useGUI?(Main *)main_window:0,modelfile);
 
    if (useGUI)
 
      model_catalogue.PopulateModelMenu();
 
    model_catalogue.InstallFirstModel();
 
	  
 
    mesh.Clean();
 
    main_window->Init(leaffile);
 
	  
 
    Cell::SetMagnification(1);
 
    Cell::setOffset(0,0);
 
						
 
    main_window->FitLeafToCanvas();
 
							
 
						
 
    main_window->Plot();
 

	
 
						
 

	
0 comments (0 inline, 0 general)