Changeset 669


Ignore:
Timestamp:
Jul 17, 2013, 8:00:32 AM (7 years ago)
Author:
sommeria
Message:

a few bugs corrected

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field.m

    r654 r669  
    8686    end
    8787    %Field.NbDim(ilist)=numel(Field.VarDimNameNonSingleton{ilist});%nbre of array dimensions after elimination of singletons
     88end
     89if ~isfield(Field,'VarAttribute')
     90    Field.VarAttribute={};
    8891end
    8992if numel(Field.VarAttribute)<NbVar% complement VarAttribute by blanjs if neded
  • trunk/src/mouse_down.m

    r660 r669  
    6060    test_ruler=isequal(get(hhuvmat.MenuRuler,'checked'),'on');%test for ruler  action, second priority;
    6161    test_edit=get(hhuvmat.CheckEditObject,'Value')&& (isequal(obj_tag,'proj_object')||isequal(obj_tag,'DeformPoint'));%test for object editing, third priority
    62     hset_object=findobj(allchild(0),'tag','set_object');
     62    hset_object=findobj(allchild(0),'Name','set_object');
    6363    if ~isempty(hset_object)
    6464        hPLOT=findobj(hset_object,'tag','PLOT');
     
    182182
    183183%% Creation of a display window zoom of text_display
    184 if isequal(get(hObject,'SelectionType'),'alt') && strcmp(htype,'axes') && ~test_edit && ~test_create
     184if strcmp(get(hObject,'SelectionType'),'alt') && strcmp(htype,'axes') && ~test_edit && ~test_create
    185185    set(0,'Unit','pixels')
    186186    GUISize=get(0,'ScreenSize');% get the size of the screen, to put the fig on the upper right   
  • trunk/src/series.m

    r667 r669  
    11381138function PairString_CellSelectionCallback(hObject, eventdata, handles)
    11391139%------------------------------------------------------------------------   
     1140if numel(eventdata.Indices)>=1
    11401141set(handles.ListView,'Value',eventdata.Indices(1))% detect the selected raw index
    11411142ListView_Callback ([],[],handles) % update the list of available pairs
     1143end
    11421144
    11431145%------------------------------------------------------------------------
  • trunk/src/uvmat.m

    r667 r669  
    33283328        set(handles.uvmat,'UserData',UvData)
    33293329        set(handles.TransformName,'value',2); % set transform fct to 'sub_field' if the current fct does not accept two input fields
    3330         transform_fct_Callback(hObject, eventdata, handles)% activate transform_fct_Callback and refresh current plot
     3330        TransformName_Callback(hObject, eventdata, handles)% activate transform_fct_Callback and refresh current plot
    33313331     else
    33323332         check_refresh=1;
Note: See TracChangeset for help on using the changeset viewer.