Changeset 1180 for trunk/src/mouse_up.m


Ignore:
Timestamp:
Mar 27, 2025, 5:59:21 PM (3 weeks ago)
Author:
sommeria
Message:

various bugs repaired,Relabeling frames installed for multitif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_up.m

    r1127 r1180  
    7171    PlotData=get(AxeData.CurrentObject,'UserData');%get data attached to the current projection object
    7272    IndexObj=PlotData.IndexObj;
     73    if IndexObj<=numel(UvData.ProjObject)
    7374    ObjectData=UvData.ProjObject{IndexObj};
    7475    check_multiple=0;
     
    120121        end
    121122    end
    122    
     123
    123124    %show object coordinates in the GUI set_object
    124125    if strcmp(ObjectData.Type,'rectangle')||strcmp(ObjectData.Type,'ellipse')
     
    127128        set(hh_set_object.num_RangeY_2,'String',num2str(ObjectData.RangeY,4));
    128129    end
     130
    129131   
    130132    %% stop drawing and plot the projected field if the object manipulation is finished
     
    195197    hother=findobj('Tag','deformpoint');%find all the deformpoints
    196198    set(hother,'Color','b');%reset all the deformpoints in 'blue'
     199    end
    197200end
    198201
Note: See TracChangeset for help on using the changeset viewer.