summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-04-24 18:53:45 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-04-24 18:53:45 +0200
commit08116ae87f5c452e070bdeffbc2b0df98a830dfe (patch)
treee0be5c93c761db6c5e150445b61db2fffc75316a
parentd9865349f8f6d1c3c7041644eeb6425a66e0a8ab (diff)
download3d-08116ae87f5c452e070bdeffbc2b0df98a830dfe.tar.gz
3d-08116ae87f5c452e070bdeffbc2b0df98a830dfe.tar.bz2
Apply cubeaddon option name change.
-rw-r--r--3d.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/3d.c b/3d.c
index d489dc1..8595f22 100644
--- a/3d.c
+++ b/3d.c
@@ -408,6 +408,7 @@ tdApplyScreenTransform (CompScreen *s,
CompTransform *transform)
{
TD_SCREEN (s);
+ CUBE_SCREEN (s);
UNWRAP (tds, s, applyScreenTransform);
(*s->applyScreenTransform) (s, sAttrib, output, transform);
@@ -645,10 +646,10 @@ tdPaintOutput (CompScreen *s,
option = (*p->vTable->getObjectOptions) (p, (CompObject *)s,
&nOption);
- option = compFindOption (option, nOption, "cylinder", 0);
+ option = compFindOption (option, nOption, "deformation", 0);
if (option)
- tds->withDepth = !option->value.b;
+ tds->withDepth = option->value.i == 0;
}
}