diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-01-25 17:21:45 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-01-25 17:21:45 +0300 |
commit | c264969962b28fc7656cfe332c479deaa41b97e0 (patch) | |
tree | 5b87a3db10c540c70888ac9c4f955fa8899e976c /xs/xsp/ExtrusionLoop.xsp | |
parent | a10a554e2a69227cc3e5bdb8179970c6fdf8a822 (diff) |
Bugfix: crash when rendering lines with zero length in 3D preview. #2569
Diffstat (limited to 'xs/xsp/ExtrusionLoop.xsp')
-rw-r--r-- | xs/xsp/ExtrusionLoop.xsp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xs/xsp/ExtrusionLoop.xsp b/xs/xsp/ExtrusionLoop.xsp index a0f8de27c..0da0fe0d4 100644 --- a/xs/xsp/ExtrusionLoop.xsp +++ b/xs/xsp/ExtrusionLoop.xsp @@ -15,8 +15,7 @@ bool make_counter_clockwise(); Clone<Point> first_point(); Clone<Point> last_point(); - Clone<Polygon> polygon() - %code{% RETVAL = Polygon(*THIS); %}; + Clone<Polygon> polygon(); void append(ExtrusionPath* path) %code{% THIS->paths.push_back(*path); %}; double length(); |