Changeset 967 for trunk/src/set_object.m


Ignore:
Timestamp:
Jul 11, 2016, 2:43:53 PM (5 years ago)
Author:
sommeria
Message:

3D cuts improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r966 r967  
    101101% fill the interface as set in the input data:
    102102if exist('data','var')
    103     if isfield(data,'Coord') &&size(data.Coord,2)==3
     103    if isfield(data,'Coord')
     104        set(handles.Coord,'Data',data.Coord)
     105        if size(data.Coord,2)==3
    104106        set(handles.z_slider,'Visible','on')
     107        end
    105108    else
    106109        set(handles.z_slider,'Visible','off')
     
    339342            set(handles.num_Angle_1,'Visible','on')
    340343            set(handles.num_Angle_1,'String','90')
    341             set(handles.Coord,'Data',[0 0 0])
     344            %set(handles.Coord,'Data',[0 0 0])
    342345            set(handles.num_RangeZ_2,'Visible','on')
    343346        end
Note: See TracChangeset for help on using the changeset viewer.