Ignore:
Timestamp:
Feb 25, 2025, 5:52:46 PM (2 weeks ago)
Author:
sommeria
Message:

bug geometry calibration corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r1172 r1173  
    485485    h_CheckEnableMouse=hh_geometry_calib.CheckEnableMouse;
    486486    if isequal(get(h_CheckEnableMouse,'Value'),1) && ~isempty(haxes)
    487         if ~isequal(get(hhuvmat.TransformName,'Value'),1); %active only with no transform (px coordinates)
     487        if ~isequal(get(hhuvmat.TransformName,'Value'),1) %active only with no transform (px coordinates)
    488488            set(hhuvmat.TransformName,'Value',1)
    489489            uvmat('TransformName_Callback',hObject,eventdata,hhuvmat); %file input with xml reading  in uvmat
     
    493493        h_ListCoord=hh_geometry_calib.ListCoord; %findobj(h_geometry_calib,'Tag','ListCoord');
    494494        Coord=get(h_ListCoord,'Data');
    495         Coord=Coord(:,1:6);
     495        if size(Coord,2)>6
     496        Coord(:,7:end)=[];
     497        end
    496498        %data=read_geometry_calib(Coord);%transform char cell to numbers
    497499        xlim=get(haxes,'XLim');
Note: See TracChangeset for help on using the changeset viewer.