Changeset 871 for trunk/src/set_object.m


Ignore:
Timestamp:
Feb 16, 2015, 12:15:23 AM (6 years ago)
Author:
sommeria
Message:

histo improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r864 r871  
    455455%% read the object parameters in the GUI set_object
    456456ObjectData=read_GUI(handles.set_object);%read the parameters defining the object in the GUI set_object
     457if isfield(ObjectData,'CoordLine')% remove CoordLine (not used as object feature)
     458    ObjectData=rmfield(ObjectData,'CoordLine');
     459end
    457460if iscell(ObjectData.Coord)%check for empty line
    458461    ObjectData.Coord=[0 0 0];
     
    650653% ------------------------------------------------------
    651654Object=read_GUI(handles.set_object);
     655if isfield(Object,'CoordLine')% remove CoordLine (not used as object feature)
     656    Object=rmfield(Object,'CoordLine');
     657end
    652658huvmat=findobj('Tag','uvmat');
    653659if isempty(huvmat)
Note: See TracChangeset for help on using the changeset viewer.