Changeset 26869
- Timestamp:
- Feb 10, 2010, 4:10:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/pswarp/src/pswarpParseCamera.c
r26543 r26869 23 23 bool status; 24 24 25 // look for the file on the RUN metadata 26 pmFPAfile *file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 25 pmFPAfile *file = NULL; 26 // look for the file on the argument list 27 if (bind) { 28 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 29 } else { 30 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 31 } 27 32 if (!status) { 28 33 psError(PSWARP_ERR_CONFIG, false, "Failed to load file definition for %s", filerule); … … 30 35 } 31 36 if (!file) { 32 // look for the file on the argument list 33 if (bind) { 34 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 35 } else { 36 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 37 } 37 // look for the file on the RUN metadata 38 file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 38 39 if (!status) { 39 40 psError(PSWARP_ERR_CONFIG, false, "Failed to load file definition for %s", filerule); 40 return false;41 return NULL; 41 42 } 42 43 }
Note:
See TracChangeset
for help on using the changeset viewer.
