diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-25 22:48:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-25 22:48:18 +0400 |
commit | 7fc4cf930ce6b8c77730e93c7972ac63773241d8 (patch) | |
tree | 74af744fb347891f60b1471d0ba47a97da121591 /source | |
parent | ce85adc780b8b2156dea8879f2b733ab8d7db2cc (diff) |
Bugfix #3232
When a file was loaded with curves in invisible layers, the displists
were not created.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/drawobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |