Changeset 1113 for trunk/src/series.m


Ignore:
Timestamp:
Feb 8, 2022, 1:58:47 PM (2 years ago)
Author:
sommeria
Message:

bug corrected in 3D calibration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1108 r1113  
    31433143if get(handles.CheckObject,'Value')
    31443144    SeriesData=get(handles.series,'UserData');
    3145     if isfield(SeriesData,'ProjObject') && ~isempty(SeriesData.ProjObject)
     3145    if isfield(SeriesData,'ProjObject') && ~isempty(SeriesData.ProjObject)% a projection object is already loaded in the GUI series
    31463146        set(handles.ViewObject,'Value',1)
    31473147        ViewObject_Callback(hObject, eventdata, handles)
    31483148    else
    3149         if ishandle(hset_object)
     3149        if ishandle(hset_object)% a projection object is already displayed in a GUI set_object
    31503150            uistack(hset_object,'top')% show the GUI set_object if opened
    31513151        else
     
    32153215    set(handles.ViewObject,'Value',0)
    32163216    UserData=get(handles.series,'UserData');
     3217    if isfield(UserData,'ProjObject')
    32173218    hset_object=set_object(UserData.ProjObject);
    32183219    set(hset_object,'Name','edit_object_series')
    32193220    set(get(hset_object,'Children'),'Enable','on')
     3221    else
     3222        msgbox_uvmat('ERROR','no projection object available');
     3223    end
    32203224else
    32213225    hset_object=findobj(allchild(0),'Tag','set_object');
Note: See TracChangeset for help on using the changeset viewer.