projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a comment questioning one of the Random::operator() methods.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_geometry
/
region.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_geometry/region.cpp
b/synfig-core/trunk/src/modules/mod_geometry/region.cpp
index
ee61182
..
75a9a1e
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_geometry/region.cpp
+++ b/
synfig-core/trunk/src/modules/mod_geometry/region.cpp
@@
-157,11
+157,9
@@
Region::sync()
}
}
}
}
- //add
a single point onto the end so it actually fits the shape, so we can be
awesome...
+ //add
the starting point onto the end so it actually fits the shape, so we can be extra
awesome...
if(!looped)
if(!looped)
- {
- vector_list.push_back(curve.p2());
- }
+ vector_list.push_back(segment_list[0].p1);
clear();
add_polygon(vector_list);
clear();
add_polygon(vector_list);