Changeset 1060 for trunk/src/uvmat.m
- Timestamp:
- Dec 19, 2018, 10:16:08 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r1059 r1060 5854 5854 function CheckEditObject_Callback(hObject, eventdata, handles) 5855 5855 %------------------------------------------------------------------- 5856 get(handles.CheckEditObject,'Value') 5856 5857 hset_object=findobj(allchild(0),'Tag','set_object'); 5857 if get(handles.CheckEditObject,'Value') 5858 if get(handles.CheckEditObject,'Value')% if the edit box has been selected 5858 5859 %suppress the other options 5859 5860 set(handles.MenuObject,'checked','off') … … 5883 5884 check_view=get(handles.CheckViewObject,'Value'); 5884 5885 hset_object=findobj(allchild(0),'tag','set_object'); 5885 if ~isempty(hset_object)5886 delete(hset_object)% delete existing version of set_object5887 end5886 % if ~isempty(hset_object) 5887 % delete(hset_object)% delete existing version of set_object 5888 % end 5888 5889 if check_view %activate set_object 5889 5890 IndexObj=get(handles.ListObject,'Value'); … … 5910 5911 5911 5912 %% initiate the new projection object 5913 if isempty(hset_object) 5912 5914 hset_object=set_object(data,[],ZBounds); 5913 5915 set(hset_object,'name','set_object') 5916 end 5917 5914 5918 hhset_object=guidata(hset_object); 5915 5919 if get(handles.CheckEditObject,'Value')% edit mode
Note: See TracChangeset
for help on using the changeset viewer.