projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo: 'suposidly' -> 'supposedly'.
[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
3f8a4ab
..
49e9843
100644
(file)
--- a/
synfig-core/trunk/src/synfig/context.cpp
+++ b/
synfig-core/trunk/src/synfig/context.cpp
@@
-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);
}
}
@@
-308,7
+308,7
@@
Context::set_time(Time time)const
}
void
}
void
-Context::set_time(Time time,const Vector &
pos
)const
+Context::set_time(Time time,const Vector &
/*pos*/
)const
{
set_time(time);
/*
{
set_time(time);
/*