Changeset 72 for trunk/src/set_object.m
- Timestamp:
- Mar 30, 2010, 11:03:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r71 r72 100 100 if isfield(data,'Name') 101 101 set(handles.TITLE,'String',data.Name) 102 set(hObject,'name',data.Name) 102 103 end 103 104 if ~isfield(data,'NbDim')||~isequal(data.NbDim,3)%2D case … … 245 246 set(handles.PLOT,'enable','off') 246 247 end 247 248 huvmat=findobj(allchild(0),'tag','uvmat'); 249 UvData=get(huvmat,'UserData'); 250 pos_uvmat=get(huvmat,'Position'); 251 %position the set_object GUI with respect to uvmat 252 if isfield(UvData,'SetObjectOrigin') 253 pos_set_object(1:2)=UvData.SetObjectOrigin + pos_uvmat(1:2); 254 pos_set_object(3:4)=UvData.SetObjectSize .* pos_uvmat(3:4); 255 set(hObject,'Position',pos_set_object) 256 end 248 257 249 258 % --- Outputs from this function are returned to the command line. … … 745 754 testnew=0; 746 755 if strcmp(ListObject{IndexObj_1},ObjectName)% we are editing the object whose projection is viewed in the uvmat frame 747 ObjectData.HandlesDisplay=h andles.axes3;748 PlotHandles=get_plot_handles(h andles);756 ObjectData.HandlesDisplay=hhuvmat.axes3; 757 PlotHandles=get_plot_handles(hhuvmat); 749 758 IndexObj=IndexObj_1; 750 759 elseif strcmp(ListObject{IndexObj_2},ObjectName)% we are editing the object whose projection is viewed in view_field
Note: See TracChangeset
for help on using the changeset viewer.