projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1694393: save 'pref.*' keys first, so the window manager hint preference is loade...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
context.cpp
diff --git
a/synfig-core/trunk/src/synfig/context.cpp
b/synfig-core/trunk/src/synfig/context.cpp
index
ba9fb69
..
247dac1
100644
(file)
--- a/
synfig-core/trunk/src/synfig/context.cpp
+++ b/
synfig-core/trunk/src/synfig/context.cpp
@@
-2,7
+2,7
@@
/*! \file context.cpp
** \brief Template File
**
/*! \file context.cpp
** \brief Template File
**
-** $Id
: context.cpp,v 1.4 2005/01/24 05:00:18 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-128,10
+128,10
@@
Context::get_full_bounding_rect()const
++context;
}
++context;
}
- if(context->empty())
-
return Rect::zero();
+ // If this layer isn't defined, return zero-sized rectangle
+
if(context->empty())
return Rect::zero();
- return (*context)->get_full_bounding_rect(
*this
+1);
+ return (*context)->get_full_bounding_rect(
context
+1);
}
}