Changeset 1098 for trunk/src/uvmat.m
- Timestamp:
- Apr 13, 2021, 7:19:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r1095 r1098 5279 5279 5280 5280 %% delete drawn objects if the output CooordUnit is different from the previous one 5281 if ~strcmp(CoordUnit,CoordUnitPrev)5282 set(handles.CheckFixLimits,'Value',0)5283 hother=findobj('Tag','proj_object');%find all the proj objects5284 for iobj=1:length(hother)5285 delete(hother(iobj))5286 end5287 hother=findobj('Tag','DeformPoint');%find all the proj objects5288 for iobj=1:length(hother)5289 delete(hother(iobj))5290 end5291 hh=findobj('Tag','calib_points');5292 if ~isempty(hh)5293 delete(hh)5294 end5295 hhh=findobj('Tag','calib_marker');5296 if ~isempty(hhh)5297 delete(hhh)5298 end5299 set(handles.ListObject,'Value',1)5300 set(handles.ListObject,'String',{''})5301 set(handles.ListObject_1,'Value',1)5302 set(handles.ListObject_1,'String',{''})5303 set(handles.CheckViewObject,'value',0)5304 CheckViewObject_Callback(hObject, eventdata, handles)5305 set(handles.CheckViewField,'value',0)5306 CheckViewField_Callback(hObject, eventdata, handles)5307 set(handles.CheckEditObject,'Value',0)5308 CheckEditObject_Callback(hObject, eventdata, handles)5309 UvData.ProjObject={[]};5310 end5281 % if ~strcmp(CoordUnit,CoordUnitPrev) 5282 % set(handles.CheckFixLimits,'Value',0) 5283 % hother=findobj('Tag','proj_object');%find all the proj objects 5284 % for iobj=1:length(hother) 5285 % delete(hother(iobj)) 5286 % end 5287 % hother=findobj('Tag','DeformPoint');%find all the proj objects 5288 % for iobj=1:length(hother) 5289 % delete(hother(iobj)) 5290 % end 5291 % hh=findobj('Tag','calib_points'); 5292 % if ~isempty(hh) 5293 % delete(hh) 5294 % end 5295 % hhh=findobj('Tag','calib_marker'); 5296 % if ~isempty(hhh) 5297 % delete(hhh) 5298 % end 5299 % set(handles.ListObject,'Value',1) 5300 % set(handles.ListObject,'String',{''}) 5301 % set(handles.ListObject_1,'Value',1) 5302 % set(handles.ListObject_1,'String',{''}) 5303 % set(handles.CheckViewObject,'value',0) 5304 % CheckViewObject_Callback(hObject, eventdata, handles) 5305 % set(handles.CheckViewField,'value',0) 5306 % CheckViewField_Callback(hObject, eventdata, handles) 5307 % set(handles.CheckEditObject,'Value',0) 5308 % CheckEditObject_Callback(hObject, eventdata, handles) 5309 % UvData.ProjObject={[]}; 5310 % end 5311 5311 set(handles.uvmat,'UserData',UvData) 5312 5312 set(handles.TransformName,'backgroundColor',[1 1 1])% indicate desactivation of the menu
Note: See TracChangeset
for help on using the changeset viewer.