From 7fc4cf930ce6b8c77730e93c7972ac63773241d8 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 25 Oct 2005 18:48:18 +0000 Subject: [PATCH] Bugfix #3232 When a file was loaded with curves in invisible layers, the displists were not created. --- source/blender/src/drawobject.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index ae6b76c0f4b..3f7b44361c1 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -3589,6 +3589,8 @@ void draw_object(Base *base) break; case OB_CURVE: case OB_SURF: + /* still needed for curves hidden in other layers. depgraph doesnt handle that yet */ + if (cu->disp.first==NULL) makeDispListCurveTypes(ob, 0); cu= ob->data; if(ob==G.obedit) {