Changeset 625 for trunk/src/proj_field.m


Ignore:
Timestamp:
May 2, 2013, 7:51:42 PM (8 years ago)
Author:
sommeria
Message:

system of object creation by mouse ilmproved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/proj_field.m

    r603 r625  
    22032203
    22042204%% store the properties of the projection object
    2205 ListObject={'Type','ProjMode','RangeX','RangeY','RangeZ','Phi','Theta','Psi','Coord'};
     2205ListObject={'Name','Type','ProjMode','angle','RangeX','RangeY','RangeZ','DX','DY','DZ','Coord'};
    22062206for ilist=1:length(ListObject)
    22072207    if isfield(ObjectData,ListObject{ilist})
    22082208        val=ObjectData.(ListObject{ilist});
    22092209        if ~isempty(val)
    2210             ProjData.(['Object' ListObject{ilist}])=val;
    2211             ProjData.ListGlobalAttribute=[ProjData.ListGlobalAttribute {['Object' ListObject{ilist}]}];
     2210            ProjData.(['ProjObject' ListObject{ilist}])=val;
     2211            ProjData.ListGlobalAttribute=[ProjData.ListGlobalAttribute {['ProjObject' ListObject{ilist}]}];
    22122212        end
    22132213    end   
Note: See TracChangeset for help on using the changeset viewer.