Changeset 29935 for trunk/psModules/src/objects/pmSource.c
- Timestamp:
- Dec 5, 2010, 9:33:17 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSource.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.c
r29546 r29935 189 189 // pixels. Modifying these pixels (ie, subtracting the model) will affect the pixels seen 190 190 // by all copies. 191 source->pixels = psImageCopyView(NULL, in->pixels);192 source->variance = psImageCopyView(NULL, in->variance);191 source->pixels = in->pixels ? psImageCopyView(NULL, in->pixels) : NULL; 192 source->variance = in->variance ? psImageCopyView(NULL, in->variance) : NULL; 193 193 source->maskView = in->maskView ? psImageCopyView(NULL, in->maskView) : NULL; 194 194
Note:
See TracChangeset
for help on using the changeset viewer.
