summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-19 12:09:02 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-19 12:09:02 (GMT)
commitc5703b44077ca6185f7611d6ffba68f4955c1cbd (patch)
treed427746f36983ea977a84e0d04a04d179592ce7c /src/value.h
parent955e0f1344d772119e2d7af1afb7658df7e8c43e (diff)
bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.h b/src/value.h
index a2cfbdf..4a67fbc 100644
--- a/src/value.h
+++ b/src/value.h
@@ -73,7 +73,7 @@ public:
bool getnum(double &v) const;
bool getv2(double &x, double &y) const;
- bool getv3(double &x, double &y, double &z) const;
+ bool getv3(double &x, double &y, double &z, double defaultval = 0.0) const;
std::string toString() const;
contact: Jan Huwald // Impressum