Changeset 701 for trunk/src/uvmat.m
- Timestamp:
- Dec 13, 2013, 10:51:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r699 r701 1953 1953 Field_a=transform(Field_a,UvData.XmlData{index});%the first field has been stored without transform 1954 1954 end 1955 if nargin(transform)>=2 1955 1956 Field_b=transform(Field_b,UvData.XmlData{index}); 1957 else 1958 Field_b=transform(Field_b); 1959 end 1956 1960 end 1957 1961 end … … 4242 4246 if get(handles.CheckEditObject,'Value') 4243 4247 %suppress the other options 4248 set(handles.MenuObject,'checked','off') 4244 4249 set(handles.CheckZoom,'Value',0) 4245 4250 CheckZoom_Callback(hObject, eventdata, handles) … … 4390 4395 if ishandle(hdisplay(iview)) && ~isequal(hdisplay(iview),0) 4391 4396 ObjectData=get(hdisplay(iview),'UserData'); 4392 if isfield(ObjectData,'SubObject') && ishandle(ObjectData.SubObject)4393 delete(ObjectData.SubObject );% delete the graphic 'sub-objects (e.g. projection bounds)4397 if isfield(ObjectData,'SubObject') && ~isempty(ObjectData.SubObject) 4398 delete(ObjectData.SubObject(ishandle(ObjectData.SubObject)));% delete the graphic 'sub-objects (e.g. projection bounds) 4394 4399 end 4395 check_suppress= isfield(ObjectData,'DeformPoint') && ishandle(ObjectData.DeformPoint); 4396 delete(ObjectData.DeformPoint(check_suppress));% delete the graphic deformation points 4397 delete(hdisplay(iview))% delete the main graphic representation of the object 4400 if isfield(ObjectData,'DeformPoint')&& ~isempty(ObjectData.DeformPoint) 4401 delete(ObjectData.DeformPoint(ishandle(ObjectData.DeformPoint)));% delete the graphic deformation points 4402 delete(hdisplay(iview))% delete the main graphic representation of the object 4403 end 4398 4404 end 4399 4405 ishandle(hdisplay(iview)) … … 4713 4719 set(handles.CheckZoomFig,'Value',0) %desactivate zoom sub fig 4714 4720 set(handles.CheckZoom,'Value',0) %desactivate the zoom action 4721 set(handles.MenuObject,'checked','on')% indicate object creation for mouse pointer display 4715 4722 if ishandle(handles.UVMAT_title) 4716 4723 delete(handles.UVMAT_title) %delete the initial display of uvmat if no field has been entered yet
Note: See TracChangeset
for help on using the changeset viewer.