[gegl-qt] Build: Fix failure in debug mode



commit cb0d0c2b9c83ff2dfa9aab379b129086cf37082a
Author: Jon Nordby <jononor gmail com>
Date:   Fri Aug 26 11:24:06 2011 +0200

    Build: Fix failure in debug mode

 gegl-qt/internal/nodeviewimplementation.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl-qt/internal/nodeviewimplementation.cpp b/gegl-qt/internal/nodeviewimplementation.cpp
index 3fc209b..28c2c65 100644
--- a/gegl-qt/internal/nodeviewimplementation.cpp
+++ b/gegl-qt/internal/nodeviewimplementation.cpp
@@ -50,7 +50,7 @@ namespace {
 
     QRectF modelAreaFromViewArea(const QRectF & viewArea, NodeViewOptions *viewOptions)
     {
-        Q_ASSERT(transform.isInvertible());
+        Q_ASSERT(viewOptions->transformation().isInvertible());
         QTransform transform = viewOptions->transformation().inverted();
         return transform.mapRect(viewArea);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]