Todo item: linked curve objects behaves incorrect with modifiers
[blender-staging.git] / source / blender / blenkernel / intern / curve.c
index 6368c139bafdd801bc0f6bb47f0fe300b670f1b7..6dd3eb43e292d80bbfed9f011aa1a878d790ffe9 100644 (file)
@@ -1266,10 +1266,10 @@ void makebevelcurve(Scene *scene, Object *ob, ListBase *disp, int forRender)
                                makeDispListCurveTypes_forRender(scene, cu->bevobj, &bevdisp, NULL, 0);
                                dl= bevdisp.first;
                        } else {
-                               dl= bevcu->disp.first;
+                               dl= cu->bevobj->disp.first;
                                if(dl==0) {
                                        makeDispListCurveTypes(scene, cu->bevobj, 0);
-                                       dl= bevcu->disp.first;
+                                       dl= cu->bevobj->disp.first;
                                }
                        }