Changeset 432 for trunk/src/mouse_up.m
- Timestamp:
- May 25, 2012, 8:59:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_up.m
r429 r432 59 59 PlotData=get(AxeData.CurrentObject,'UserData');%get data attached to the current projection object 60 60 IndexObj=PlotData.IndexObj; 61 ObjectData=UvData.Object{IndexObj}; 61 ObjectData=UvData.Object{IndexObj}; 62 62 % ObjectData.enable_plot=1; 63 63 if strcmp(ObjectData.Type,'rectangle')||strcmp(ObjectData.Type,'ellipse') … … 139 139 140 140 %% update the object representation 141 ObjectData.DisplayHandle_uvmat=UvData.Object{IndexObj}.DisplayHandle_uvmat;142 ObjectData.DisplayHandle_view_field=UvData.Object{IndexObj}.DisplayHandle_view_field;143 UvData.Object{IndexObj}=ObjectData;%update the current object properties144 hhuvmat=guidata(huvmat);145 IndexObj_1=get(hhuvmat.ListObject_1,'Value');146 IndexObj_2=get(hhuvmat.ListObject,'Value');147 UvData.Object=update_obj(UvData,IndexObj_1,IndexObj_2);141 % ObjectData.DisplayHandle_uvmat=UvData.Object{IndexObj}.DisplayHandle_uvmat; 142 % ObjectData.DisplayHandle_view_field=UvData.Object{IndexObj}.DisplayHandle_view_field; 143 % UvData.Object{IndexObj}=ObjectData;%update the current object properties 144 % hhuvmat=guidata(huvmat); 145 % IndexObj_1=get(hhuvmat.ListObject_1,'Value'); 146 % IndexObj_2=get(hhuvmat.ListObject,'Value'); 147 % UvData.Object=update_obj(UvData,IndexObj_1,IndexObj_2); 148 148 149 149 %% plot the field projected on the object … … 199 199 set(hhuvmat.MenuEdit,'Enable','on');% 200 200 end 201 e lse201 end 202 202 AxeData.CurrentOrigin=[xy(1,1) xy(1,2)]; %the current point becomes the new current origin 203 203 test_drawing=1;%allow continuation of drawing object 204 204 UvData.Object{IndexObj}=ObjectData; 205 end205 % end 206 206 hother=findobj('Tag','deformpoint');%find all the deformpoints 207 207 set(hother,'Color','b');%reset all the deformpoints in 'blue'
Note: See TracChangeset
for help on using the changeset viewer.