summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-01 03:29:41 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-01 03:29:41 (GMT)
commit45a3d59bb7d06b2d0245e2b7f45b03cc6021d5b9 (patch)
treee8a40ec07b1f6ad06669f3baf1b7ce61f3cd25c8 /src/state.h
parentc36f5e1c477c9af51080e9fbaf6bd6e55eb0c47c (diff)
Elusive CSG bug finally squashed
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 512586d..ae25c0f 100644
--- a/src/state.h
+++ b/src/state.h
@@ -15,7 +15,7 @@ public:
void setPostfix(bool on) { this->ispostfix = on; }
void setNumChildren(unsigned int numc) { this->numchildren = numc; }
void setParent(const AbstractNode *parent) { this->parentnode = parent; }
- void setMatrix(const double m[20]) { memcpy(this->m, m, sizeof(m)); }
+ void setMatrix(const double m[20]) { memcpy(this->m, m, 20*sizeof(m)); }
bool isPrefix() const { return this->isprefix; }
bool isPostfix() const { return this->ispostfix; }
contact: Jan Huwald // Impressum