summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-03-21 20:46:15 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-03-21 20:46:15 (GMT)
commit8239d0189ad1f03da7c224e06f83a424b7a3caf1 (patch)
tree50d5862b30d5e46e60b62031bea379c2af105719
parentc239e576791ae14fd1eba6ca6ccb1e88578df404 (diff)
downloadblt-8239d0189ad1f03da7c224e06f83a424b7a3caf1.zip
blt-8239d0189ad1f03da7c224e06f83a424b7a3caf1.tar.gz
blt-8239d0189ad1f03da7c224e06f83a424b7a3caf1.tar.bz2
fix fill marker copy
-rw-r--r--tksao/frame/box.C2
-rw-r--r--tksao/frame/circle.C2
-rw-r--r--tksao/frame/ellipse.C2
-rw-r--r--tksao/frame/polygon.C2
4 files changed, 4 insertions, 4 deletions
diff --git a/tksao/frame/box.C b/tksao/frame/box.C
index 2c5f06d..0bdb01c 100644
--- a/tksao/frame/box.C
+++ b/tksao/frame/box.C
@@ -9,7 +9,7 @@
Box::Box(const Box& a) : BaseBox(a)
{
- fill_ =0;
+ fill_ = a.fill_;
}
Box::Box(Base* p, const Vector& ctr, const Vector& seg, double ang, int fill)
diff --git a/tksao/frame/circle.C b/tksao/frame/circle.C
index 5b7b072..6d4971d 100644
--- a/tksao/frame/circle.C
+++ b/tksao/frame/circle.C
@@ -9,7 +9,7 @@
Circle::Circle(const Circle& a) : BaseEllipse(a)
{
- fill_ =0;
+ fill_ = a.fill_;
}
Circle::Circle(Base* p, const Vector& ctr, double r, int fill)
diff --git a/tksao/frame/ellipse.C b/tksao/frame/ellipse.C
index bbdbc26..ca712cf 100644
--- a/tksao/frame/ellipse.C
+++ b/tksao/frame/ellipse.C
@@ -9,7 +9,7 @@
Ellipse::Ellipse(const Ellipse& a) : BaseEllipse(a)
{
- fill_ =0;
+ fill_ = a.fill_;
}
Ellipse::Ellipse(Base* p, const Vector& ctr, const Vector& r,
diff --git a/tksao/frame/polygon.C b/tksao/frame/polygon.C
index ab3734c..72cebcd 100644
--- a/tksao/frame/polygon.C
+++ b/tksao/frame/polygon.C
@@ -9,7 +9,7 @@
Polygon::Polygon(const Polygon& a) : BasePolygon(a)
{
- fill_ =0;
+ fill_ = a.fill_;
}
Polygon::Polygon(Base* p, const Vector& ctr, const Vector& b, int fill)