Am 18.10.2010 08:41, schrieb Campbell Barton: > Revision: 32551 > > http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32551 > Author: campbellbarton > Date: 2010-10-18 08:41:16 +0200 (Mon, 18 Oct 2010) > > Log Message: > ----------- > remove G.sce, use G.main->name instead. > > Both stored the filename of the blend file, but G.sce stored the last opened > file. > This will make blender act differently in some cases since a relative path to > the last opened file will no longer resolve (which is correct IMHO since that > file isnt open and the path might not even be valid anymore). > > Tested linking with durian files and rendering to relative paths when no > files is loaded however we may need to have some operators give an error if > they are used on the default startup.blend. > > Modified Paths: > -------------- ... > trunk/blender/source/blender/windowmanager/intern/wm_files.c > trunk/blender/source/blender/windowmanager/intern/wm_init_exit.c
I think this breaks something (Ubuntu10.04/64bit/scons): Linking library ==> 'libbf_ikplugin.a' Compiling ==> 'wm_init_exit.c' source/blender/windowmanager/intern/wm_init_exit.c:209: error: conflicting types for ‘WM_init_game’ source/blender/windowmanager/WM_api.h:66: note: previous declaration of ‘WM_init_game’ was here source/blender/windowmanager/intern/wm_init_exit.c: In function ‘WM_init_game’: source/blender/windowmanager/intern/wm_init_exit.c:270: error: implicit declaration of function ‘wm_get_screensize’ scons: *** [/home/cw/bdev/trunk/build/linux2/source/blender/windowmanager/intern/wm_init_exit.o] Error 1 scons: building terminated because of errors. c...@swordfish:~/bdev/trunk/blender$ Jesterking helped me to get rev 32557 to compile (adding a include BKE_main.h) but 32560 or so changed it again so that the error above came up. Carsten -- Carsten Wartmann: Autor - Dozent - 3D - Grafik Homepage: http://blenderbuch.de/ Das Blender-Buch: http://blenderbuch.de/redirect.html _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers