Changeset 680 for trunk/src/mouse_down.m


Ignore:
Timestamp:
Aug 29, 2013, 12:32:50 AM (11 years ago)
Author:
sommeria
Message:

cleaning , suppres effect of backward arrow in set_object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r669 r680  
    6262    hset_object=findobj(allchild(0),'Name','set_object');
    6363    if ~isempty(hset_object)
    64         hPLOT=findobj(hset_object,'tag','PLOT');
     64        hPLOT=findobj(hset_object,'tag','REFRESH');
    6565        test_create=strcmp(get(hPLOT,'enable'),'on') &&~get(hhuvmat.CheckEditObject,'Value');% create new object if set_object is in mode enable and uvmat not in mode 'EditObject'
    6666    end
     
    285285                    %indicate on the list of the GUI uvmat which object has been selected
    286286            if strcmp(get(hCurrentGUI,'tag'),'uvmat') %if the uvmat graph has been selected, object projection is on the other frame view_field
    287 %                 IndexObj=get(hhuvmat.ListObject,'Value');
    288 %                 if IndexObj>IndexObj_old(1)
    289 %                     IndexObj=[IndexObj_old(1) IndexObj];
    290 %                 else
    291 %                     IndexObj=[1 IndexObj];
    292 %                 end
    293287                set(hhuvmat.ListObject,'Value',IndexObj);
    294 %                 set(hhuvmat.ListObject,'UserData',IndexObj);
    295288            else
    296289                set(hhuvmat.ListObject_1,'Value',IndexObj);
     
    298291                UvData.ProjObject{IndexObj}.Name=list_str{IndexObj};
    299292            end
    300 %             h_set_object=findobj(allchild(0),'Tag','set_object');
    301 %             if ~isempty(h_set_object)
    302 %                 delete(h_set_object)
    303 %             end
    304293            set_object(UvData.ProjObject{IndexObj})
    305294            axes(hchild);%set back the current axes haxes
Note: See TracChangeset for help on using the changeset viewer.