Changeset 935 for trunk/src/uvmat.m


Ignore:
Timestamp:
Mar 28, 2016, 9:15:18 PM (9 years ago)
Author:
sommeria
Message:

various improvments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r934 r935  
    35853585    if isfield(UvData,'XmlData')%use geometry calib recorded from the ImaDoc xml file as first priority
    35863586        XmlData=UvData.XmlData{1};
     3587        if isfield(UvData,'TransformInput')
     3588            XmlData.TransformInput=UvData.TransformInput;
     3589        end
    35873590        if numel(UvData.XmlData)==2
    35883591            XmlData_1=UvData.XmlData{2};
     
    49494952            XmlData=UvData.XmlData{1};
    49504953        end
     4954        if isfield(UvData,'TransformInput')
     4955            XmlData.TransformInput=UvData.TransformInput;
     4956        end
    49514957        UvData.Field.Action.RUN=0;% indicate that the transform fct is called only to get input param
    49524958        DataOut=feval(transform_handle,UvData.Field,XmlData);% execute the transform fct to get the required conditions
     
    49584964        end
    49594965        if isfield(DataOut,'TransformInput')%  used to add transform parameters at selection of the transform fct
    4960             UvData.XmlData{1}.TransformInput=DataOut.TransformInput;
     4966            UvData.TransformInput=DataOut.TransformInput;
    49614967        end
    49624968    end
Note: See TracChangeset for help on using the changeset viewer.