Changeset 1060 for trunk/src/uvmat.m


Ignore:
Timestamp:
Dec 19, 2018, 10:16:08 AM (2 years ago)
Author:
sommeria
Message:

projection repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r1059 r1060  
    58545854function CheckEditObject_Callback(hObject, eventdata, handles)
    58555855%-------------------------------------------------------------------
     5856get(handles.CheckEditObject,'Value')
    58565857hset_object=findobj(allchild(0),'Tag','set_object');
    5857 if get(handles.CheckEditObject,'Value')
     5858if get(handles.CheckEditObject,'Value')% if the edit box has been selected
    58585859    %suppress the other options
    58595860    set(handles.MenuObject,'checked','off')
     
    58835884check_view=get(handles.CheckViewObject,'Value');
    58845885hset_object=findobj(allchild(0),'tag','set_object');
    5885 if ~isempty(hset_object)
    5886     delete(hset_object)% delete existing version of set_object
    5887 end
     5886% if ~isempty(hset_object)
     5887%     delete(hset_object)% delete existing version of set_object
     5888% end
    58885889if check_view %activate set_object
    58895890    IndexObj=get(handles.ListObject,'Value');
     
    59105911   
    59115912    %% initiate the new projection object
     5913    if isempty(hset_object)
    59125914    hset_object=set_object(data,[],ZBounds);
    59135915    set(hset_object,'name','set_object')
     5916    end
     5917   
    59145918    hhset_object=guidata(hset_object);
    59155919    if get(handles.CheckEditObject,'Value')% edit mode
Note: See TracChangeset for help on using the changeset viewer.