Changeset 541 for trunk/src/uvmat.m


Ignore:
Timestamp:
Sep 14, 2012, 9:06:04 AM (8 years ago)
Author:
sommeria
Message:

bugs corrected in geometry_calib and zoom management in uvmat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r540 r541  
    13551355        choice_value=get(handles.transform_fct,'Value');
    13561356        transform_name=menu_transform{choice_value};%name of the transform fct  given by the menu 'transform_fct'
    1357         transform_list=get(handles.transform_fct,'UserData');
    1358         transform=transform_list{choice_value};
     1357%         transform_list=get(handles.transform_fct,'UserData');
     1358%         transform=transform_list{choice_value};
     1359        transform=get(handles.path_transform,'UserData');
    13591360        if  ~isequal(transform_name,'') && ~isequal(transform_name,'px')
    13601361            if isfield(UvData,'XmlData') && isfield(UvData.XmlData{1},'GeometryCalib')%use geometry calib recorded from the ImaDoc xml file as first priority
     
    35583559end
    35593560
    3560 set(handles.CheckFixLimits,'Value',0)
    3561 set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7])
    35623561
    35633562%% delete drawn objects if the output CooordUnit is different from the previous one
    35643563if ~strcmp(CoordUnit,CoordUnitPrev)
     3564    set(handles.CheckFixLimits,'Value',0)
     3565set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7])
    35653566    hother=findobj('Tag','proj_object');%find all the proj objects
    35663567    for iobj=1:length(hother)
Note: See TracChangeset for help on using the changeset viewer.