Changeset 660 for trunk/src/mouse_down.m


Ignore:
Timestamp:
Jul 5, 2013, 11:15:09 AM (11 years ago)
Author:
sommeria
Message:

a few bugs corrected in geometry_calib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r657 r660  
    7474        else
    7575            hh_calib=guidata(h_calib);
    76             test_cal=get(hh_calib.edit_append,'Value');
     76            test_cal=get(hh_calib.CheckEnableMouse,'Value');
    7777        end
    7878    end
     
    403403    h_geometry_calib=findobj(allchild(0),'Name','geometry_calib'); %find the geomterty_calib GUI
    404404    hh_geometry_calib=guidata(h_geometry_calib);
    405     h_edit_append=hh_geometry_calib.edit_append;%findobj(h_geometry_calib,'Tag','edit_append');
    406     if isequal(get(h_edit_append,'Value'),1) && ~isempty(haxes)
     405    h_CheckEnableMouse=hh_geometry_calib.CheckEnableMouse;
     406    if isequal(get(h_CheckEnableMouse,'Value'),1) && ~isempty(haxes)
    407407        if ~isequal(get(hhuvmat.TransformName,'Value'),1); %active only with no transform (px coordinates)
    408408            set(hhuvmat.TransformName,'Value',1)
Note: See TracChangeset for help on using the changeset viewer.