ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Tools/MetaEditor.pas
(Generate patch)

Comparing oup/current/Tools/MetaEditor.pas (file contents):
Revision 233 by alloc, Fri Jun 29 12:38:24 2007 UTC vs.
Revision 237 by alloc, Sat Jul 14 14:18:23 2007 UTC

# Line 87 | Line 87 | begin
87      //VST
88      VST.Clear;
89      VST.BeginUpdate;
90 <    root := ConManager.Connection[FConnectionID].MetaData.Root;
90 > //    root := ConManager.Connection[FConnectionID].MetaData.Root;
91 >    root := ConManager.Connection[FConnectionID].MetaData.FileById[454];
92      for i := 0 to root.ChildCount - 1 do
93      begin
94        data.Field := root.Child[i];
# Line 110 | Line 111 | var
111   begin
112    data := Sender.GetNodeData(node);
113    Meta := ConManager.Connection[ConnectionID].MetaData;
113  if data.Field is TExtension then
114    if TExtension(data.Field).ChildCount = 0 then
115      TExtension(data.Field).InitList;
114  
115    if data.Field.ChildCount > 0 then
116    begin
# Line 204 | Line 202 | begin
202            if Data.Field is TFile then
203              CellText := IntToStr(TFile(Data.Field).FileInfo.ID);
204          end;
205 +      3:
206 +        begin
207 +          if Data.Field is TDataField then
208 +            CellText := TDataField(Data.Field).ValueAsString;
209 +        end;
210      end;
211    end;
212   end;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)