Changeset 27094
- Timestamp:
- Feb 25, 2010, 2:58:57 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubFiles.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubFiles.c
r26899 r27094 183 183 } 184 184 185 psFree(view); 186 187 // Disable writing of data now that we've written things out 188 if (files & PPSUB_FILES_CONV) { 189 pmFPAview *view = ppSubViewReadout(); // View to readout 190 { 191 pmReadout *ro = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT.CONV"); 192 if (ro) { 193 ro->data_exists = ro->parent->data_exists = ro->parent->parent->data_exists = false; 194 } 195 } 196 { 197 pmReadout *ro = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV"); 198 if (ro) { 199 ro->data_exists = ro->parent->data_exists = ro->parent->parent->data_exists = false; 200 } 201 } 202 psFree(view); 203 } 204 if (files & PPSUB_FILES_SUB) { 205 pmFPAview *view = ppSubViewReadout(); // View to readout 206 pmReadout *ro = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT"); 207 if (ro) { 208 ro->data_exists = ro->parent->data_exists = ro->parent->parent->data_exists = false; 209 } 210 psFree(view); 211 } 212 // Disable writing of data now that we've written things out 213 if (files & PPSUB_FILES_INV) { 214 pmFPAview *view = ppSubViewReadout(); // View to readout 215 pmReadout *ro = pmFPAfileThisReadout(config->files, view, "PPSUB.INVERSE"); 216 if (ro) { 217 ro->data_exists = ro->parent->data_exists = ro->parent->parent->data_exists = false; 218 } 219 psFree(view); 220 } 221 185 222 ppSubFilesActivate(config, PPSUB_FILES_ALL, false); 186 223
Note:
See TracChangeset
for help on using the changeset viewer.
