When a file was loaded with curves in invisible layers, the displists
were not created.
This commit is contained in:
Ton Roosendaal 2005-10-25 18:48:18 +00:00
parent ce85adc780
commit 7fc4cf930c

@ -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) {