Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-25 22:48:18 +0400
committerTon Roosendaal <ton@blender.org>2005-10-25 22:48:18 +0400
commit7fc4cf930ce6b8c77730e93c7972ac63773241d8 (patch)
tree74af744fb347891f60b1471d0ba47a97da121591 /source
parentce85adc780b8b2156dea8879f2b733ab8d7db2cc (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.c2
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) {