forked from bartvdbraak/blender
fix access of pointer before its assigned
This commit is contained in:
parent
ded4709a9d
commit
b970e55df2
@ -3589,9 +3589,9 @@ void draw_object(Base *base)
|
|||||||
break;
|
break;
|
||||||
case OB_CURVE:
|
case OB_CURVE:
|
||||||
case OB_SURF:
|
case OB_SURF:
|
||||||
|
cu= ob->data;
|
||||||
/* still needed for curves hidden in other layers. depgraph doesnt handle that yet */
|
/* still needed for curves hidden in other layers. depgraph doesnt handle that yet */
|
||||||
if (cu->disp.first==NULL) makeDispListCurveTypes(ob, 0);
|
if (cu->disp.first==NULL) makeDispListCurveTypes(ob, 0);
|
||||||
cu= ob->data;
|
|
||||||
|
|
||||||
if(ob==G.obedit) {
|
if(ob==G.obedit) {
|
||||||
drawnurb(ob, editNurb.first, dt);
|
drawnurb(ob, editNurb.first, dt);
|
||||||
|
Loading…
Reference in New Issue
Block a user