[Bf-committers] small bug in readfile.c do_versions() function
Roelf de Kock
kiemdoder at gmail.com
Thu Aug 6 22:49:20 CEST 2009
I tried to load a blend in 2.5 and got a SEGFAULT.
Looks like a typo. The following patch seems to fix it:
Index: source/blender/blenloader/intern/readfile.c
===================================================================
--- source/blender/blenloader/intern/readfile.c (revision 22273)
+++ source/blender/blenloader/intern/readfile.c (working copy)
@@ -9205,7 +9205,7 @@
/* move to cameras */
if(sce->r.scemode & R_PANORAMA) {
- for(base=scene->base.first; base; base=base->next) {
+ for(base=sce->base.first; base; base=base->next) {
ob= newlibadr(fd, lib, base->object);
if(ob->type == OB_CAMERA && !ob->id.lib) {
Roelf
More information about the Bf-committers
mailing list