[gegl] gegl:affine: Lazy initialization of sampler
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gegl] gegl:affine: Lazy initialization of sampler
- Date: Tue, 21 Apr 2009 12:52:33 -0400 (EDT)
commit 2d8e8a6bded0942c25799f76baa8876b01587425
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Apr 21 18:52:51 2009 +0200
gegl:affine: Lazy initialization of sampler
Make sure the sampler is initialized before executing logic in
get_bounding_box(). This feels like a hack but should work fine for
now.
---
ChangeLog | 6 ++++++
operations/affine/affine.c | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 776860a..270961d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-21 Martin Nordholts <martinn svn gnome org>
+
+ * operations/affine/affine.c: Make sure the sampler is initialized
+ before executing logic in get_bounding_box(). This feels like a
+ hack but should work fine for now.
+
2009-04-17 Martin Nordholts <martinn src gnome org>
Bug 578932 â?? Alpha weighted blend composting operation
diff --git a/operations/affine/affine.c b/operations/affine/affine.c
index 2083bad..66adc95 100644
--- a/operations/affine/affine.c
+++ b/operations/affine/affine.c
@@ -447,6 +447,7 @@ get_bounding_box (GeglOperation *op)
GeglRectangle context_rect;
GeglSampler *sampler;
+ op_affine_sampler_init (affine);
sampler = affine->sampler;
context_rect = sampler->context_rect;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]