diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-10-26 04:54:53 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-10-26 04:54:53 +0400 |
commit | b970e55df25b9f4bd79d6acce194c857df3403bb (patch) | |
tree | 9ef18e747342fc2911c959502b5ca581642a324e /source | |
parent | ded4709a9d116a7e9ad1a91937e445154474118d (diff) |
fix access of pointer before its assigned
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 3f7b44361c1..85c6eecbd4d 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -3589,9 +3589,9 @@ void draw_object(Base *base) break; case OB_CURVE: case OB_SURF: + cu= ob->data; /* 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) { drawnurb(ob, editNurb.first, dt); |