Rev 907 | Rev 949 | Go to most recent revision | Show entire file | Regard 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 * |
963 | ABE::ForestManagementEngine *abe = GlobalSettings::instance()->model()->ABEngine(); |
964 | if ( |
964 | if (abe) |
965 |
|
965 | abe->addTreeRemoval(this, (int)reason); |
966 | }
|
966 | }
|
967 | 967 | ||
968 | //////////////////////////////////////////////////
|
968 | //////////////////////////////////////////////////
|
969 | //// value functions
|
969 | //// value functions
|
970 | //////////////////////////////////////////////////
|
970 | //////////////////////////////////////////////////
|