projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use American spelling: 'recognise' -> 'recognize'.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_geometry
/
outline.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_geometry/outline.cpp
b/synfig-core/trunk/src/modules/mod_geometry/outline.cpp
index
597fe82
..
356104a
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_geometry/outline.cpp
+++ b/
synfig-core/trunk/src/modules/mod_geometry/outline.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-171,6
+172,13
@@
void
Outline::sync()
{
clear();
Outline::sync()
{
clear();
+
+ if (!bline.get_list().size())
+ {
+ synfig::warning(string("Outline::sync():")+_("No verticies in outline " + string("\"") + get_description() + string("\"")));
+ return;
+ }
+
try {
#if 1
try {
#if 1
@@
-721,7
+729,7
@@
Outline::set_param(const String & param, const ValueBase &value)
return true;
}
return true;
}
- if( param=="width_list" && value.same_as(width_list))
+ if( param=="width_list" && value.same_
type_
as(width_list))
{
width_list=value;
//sync();
{
width_list=value;
//sync();