fix [#28846] Relative paths on linked scene fails
[blender.git] / source / blender / editors / object / object_edit.c
index a50dd00ef168abeb4db2c1e6f58cdc2df6acbf4c..76cbfdc88e7fae81f8b71a258de49899e7762c98 100644 (file)
@@ -1221,7 +1221,7 @@ static void copy_attr(Main *bmain, Scene *scene, View3D *v3d, short event)
                                                cu1->vfontbi= cu->vfontbi;
                                                id_us_plus((ID *)cu1->vfontbi);                                         
 
-                                               BKE_text_to_curve(scene, base->object, 0);              /* needed? */
+                                               BKE_text_to_curve(bmain, scene, base->object, 0); /* needed? */
 
                                                
                                                BLI_strncpy(cu1->family, cu->family, sizeof(cu1->family));