Changeset 680 for trunk/src/mouse_down.m
- Timestamp:
- Aug 29, 2013, 12:32:50 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_down.m
r669 r680 62 62 hset_object=findobj(allchild(0),'Name','set_object'); 63 63 if ~isempty(hset_object) 64 hPLOT=findobj(hset_object,'tag',' PLOT');64 hPLOT=findobj(hset_object,'tag','REFRESH'); 65 65 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' 66 66 end … … 285 285 %indicate on the list of the GUI uvmat which object has been selected 286 286 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 % else291 % IndexObj=[1 IndexObj];292 % end293 287 set(hhuvmat.ListObject,'Value',IndexObj); 294 % set(hhuvmat.ListObject,'UserData',IndexObj);295 288 else 296 289 set(hhuvmat.ListObject_1,'Value',IndexObj); … … 298 291 UvData.ProjObject{IndexObj}.Name=list_str{IndexObj}; 299 292 end 300 % h_set_object=findobj(allchild(0),'Tag','set_object');301 % if ~isempty(h_set_object)302 % delete(h_set_object)303 % end304 293 set_object(UvData.ProjObject{IndexObj}) 305 294 axes(hchild);%set back the current axes haxes
Note: See TracChangeset
for help on using the changeset viewer.