Commit: 87cfee895bc1ea7cc83453b805284eec64d3c879
Author: Julian Eisel
Date:   Wed Apr 8 14:22:36 2015 +0200
Branches: wiggly-widgets
https://developer.blender.org/rB87cfee895bc1ea7cc83453b805284eec64d3c879

Graph Editor backdrop: Fix crash on undo

===================================================================

M       source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c 
b/source/blender/blenloader/intern/readfile.c
index 77617d4..b6a15ee 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6290,6 +6290,7 @@ void blo_lib_link_screen_restore(Main *newmain, bScreen 
*curscreen, Scene *cursc
                                                if (ads->filter_grp)
                                                        ads->filter_grp = 
restore_pointer_by_name(newmain, (ID *)ads->filter_grp, USER_IGNORE);
                                        }
+                                       sipo->backdrop_camera = 
restore_pointer_by_name(newmain, (ID *)sipo->backdrop_camera, USER_IGNORE);
                                        
                                        /* force recalc of list of channels 
(i.e. includes calculating F-Curve colors)
                                         * thus preventing the "black curves" 
problem post-undo

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to