~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to imagery/i.ortho.photo/menu/menu.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        if (strcmp(buf, "1") == 0)
118
118
            run_system("i.group");
119
119
        if (strcmp(buf, "2") == 0)
120
 
            run_etc_imagery("photo.target", group.name);
 
120
            run_etc_imagery("i.photo.target", group.name);
121
121
        if (strcmp(buf, "3") == 0)
122
 
            run_etc_imagery("photo.elev", group.name);
 
122
            run_etc_imagery("i.photo.elev", group.name);
123
123
        if (strcmp(buf, "4") == 0)
124
 
            run_etc_imagery("photo.camera", group.name);
 
124
            run_etc_imagery("i.photo.camera", group.name);
125
125
        if (strcmp(buf, "5") == 0)
126
 
            run_etc_imagery("photo.2image", group.name);
 
126
            run_etc_imagery("i.photo.2image", group.name);
127
127
        if (strcmp(buf, "6") == 0)
128
 
            run_etc_imagery("photo.init", group.name);
 
128
            run_etc_imagery("i.photo.init", group.name);
129
129
        if (strcmp(buf, "7") == 0)
130
 
            run_etc_imagery("photo.2target", group.name);
131
 
        if (strcmp(buf, "8") == 0)
132
 
            run_etc_imagery("photo.rectify", group.name);
 
130
            run_etc_imagery("i.photo.2target", group.name);
 
131
        if (strcmp(buf, "8") == 0) {
 
132
            rectify(group.name);
 
133
            /*
 
134
            sprintf(buf, "i.photo.rectify group=%s", group.name);
 
135
            run_system(buf);
 
136
            */
 
137
        }
133
138
    }
134
139
}