[Bf-blender-cvs] CVS commit: blender/source/blender/blenloader/intern readfile.c writefile.c

Ton Roosendaal ton at blender.org
Fri Dec 16 18:35:38 CET 2005


ton (Ton Roosendaal) 2005/12/16 18:35:38 CET

  Modified files:        (Branch: orange)
    blender/source/blender/blenloader/intern readfile.c 
                                             writefile.c 
  
  Log:
  Orange: Yet another day of file reading & library linking code...
  Finally (after 10 years!) fixed the issue that was marked in a comment in
  the top of the readfile.c... when using multiple library files at once,
  the code that tries to map old to new pointers could fail when accidentally
  pointers (in different files) had same old values.
  
  Current code now uses proper lookup tables per open library file.
  Last issues to solve;
  
  - pointer tables still suffer the 'accidental pointer' error when linking
  multiple levels of library deep, with recursive back linking to higher
  levels... (I know is stupid, but should be solved!)
  
  - The code for relative paths doesnt work for multiple levels, when the
  files use different relative paths.
  
  Revision  Changes    Path
  1.214.2.17 +46 -100   blender/source/blender/blenloader/intern/readfile.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.c.diff?r1=1.214.2.16&r2=1.214.2.17&cvsroot=bf-blender>
  1.60.2.4  +1 -0      blender/source/blender/blenloader/intern/writefile.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/writefile.c.diff?r1=1.60.2.3&r2=1.60.2.4&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list