Subversion Repositories public iLand

Rev

Rev 907 | Rev 949 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 907 Rev 909
Line 958... Line 958...
958
958
959
void Tree::recordRemovedVolume(TreeRemovalType reason)
959
void Tree::recordRemovedVolume(TreeRemovalType reason)
960
{
960
{
961
    // add the volume of the current tree to the height grid
961
    // add the volume of the current tree to the height grid
962
    // this information is used to track the removed volume for stands based on grids.
962
    // this information is used to track the removed volume for stands based on grids.
963
    ABE::ForestManagementEngine *amie = GlobalSettings::instance()->model()->amieEngine();
-
 
964
    if (amie)
-
 
965
        amie->addTreeRemoval(this, (int)reason);
-
 
-
 
963
    ABE::ForestManagementEngine *abe = GlobalSettings::instance()->model()->ABEngine();
-
 
964
    if (abe)
-
 
965
        abe->addTreeRemoval(this, (int)reason);
966
}
966
}
967
967
968
//////////////////////////////////////////////////
968
//////////////////////////////////////////////////
969
////  value functions
969
////  value functions
970
//////////////////////////////////////////////////
970
//////////////////////////////////////////////////