Changeset 17219
- Timestamp:
- Mar 28, 2008, 4:21:20 PM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 4 edited
-
camtool.c (modified) (3 diffs)
-
chiptool.c (modified) (3 diffs)
-
warptool.c (modified) (4 diffs)
-
warptoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/camtool.c
r17216 r17219 352 352 if ((!state) && (!label)) { 353 353 psError(PXTOOLS_ERR_DATA, false, "parameters are required"); 354 psFree(where); 354 355 return false; 355 356 } … … 358 359 // set chipRun.state to state 359 360 if (!pxcamRunSetStateByQuery(config, where, state)) { 361 psFree(where); 360 362 return false; 361 363 } … … 365 367 // set chipRun.label to label 366 368 if (!pxcamRunSetLabelByQuery(config, where, label)) { 367 return false; 368 } 369 } 369 psFree(where); 370 return false; 371 } 372 } 373 374 psFree(where); 370 375 371 376 return true; -
trunk/ippTools/src/chiptool.c
r17188 r17219 327 327 if ((!state) && (!label)) { 328 328 psError(PXTOOLS_ERR_DATA, false, "parameters are required"); 329 psFree(where); 329 330 return false; 330 331 } … … 333 334 // set chipRun.state to state 334 335 if (!pxchipRunSetStateByQuery(config, where, state)) { 336 psFree(where); 335 337 return false; 336 338 } … … 340 342 // set chipRun.label to label 341 343 if (!pxchipRunSetLabelByQuery(config, where, label)) { 342 return false; 343 } 344 } 344 psFree(where); 345 return false; 346 } 347 } 348 349 psFree(where); 345 350 346 351 return true; -
trunk/ippTools/src/warptool.c
r17180 r17219 256 256 PXOPT_COPY_F32(config->args, where, "-solang_max", "solang", "<"); 257 257 258 if (!psListLength(where->list)) { 258 if (!psListLength(where->list) 259 && !psMetadataLookupBool(NULL, config->args, "-all")) { 259 260 psFree(where); 261 where = NULL; 260 262 psError(PXTOOLS_ERR_DATA, false, "search parameters are required"); 261 263 return false; … … 267 269 if ((!state) && (!label)) { 268 270 psError(PXTOOLS_ERR_DATA, false, "parameters are required"); 271 psFree(where); 269 272 return false; 270 273 } … … 273 276 // set chipRun.state to state 274 277 if (!pxwarpRunSetStateByQuery(config, where, state)) { 278 psFree(where); 275 279 return false; 276 280 } … … 280 284 // set chipRun.label to label 281 285 if (!pxwarpRunSetLabelByQuery(config, where, label)) { 282 return false; 283 } 284 } 286 psFree(where); 287 return false; 288 } 289 } 290 291 psFree(where); 285 292 286 293 return true; -
trunk/ippTools/src/warptoolConfig.c
r17180 r17219 159 159 "define max solar angle", NAN); 160 160 161 psMetadataAddBool(updaterunArgs, PS_LIST_TAIL, "-all", 0, 162 "allow everything to be queued without search terms", false); 161 163 psMetadataAddStr(updaterunArgs, PS_LIST_TAIL, "-state", 0, 162 164 "set state", NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
