src/linetypes/modelobject.cpp

changeset 1161
e6a5ff67c057
parent 1158
35ceb74fe53e
child 1187
46dc716238fd
child 1236
861bf8ebb8ec
--- a/src/linetypes/modelobject.cpp	Thu Feb 23 20:21:40 2017 +0200
+++ b/src/linetypes/modelobject.cpp	Thu Feb 23 20:25:47 2017 +0200
@@ -44,7 +44,7 @@
     m_isHidden {false},
     m_isSelected {false},
     _model {model},
-    m_coords {Origin}
+    m_coords {{0, 0, 0}}
 {
 	assert(_model != nullptr);
 
@@ -493,7 +493,7 @@
 
 LDMatrixObject::LDMatrixObject (Model* model) :
     LDObject (model),
-	m_position (Origin) {}
+    m_position {0, 0, 0} {}
 
 LDMatrixObject::LDMatrixObject (const Matrix& transform, const Vertex& pos, Model* model) :
     LDObject (model),

mercurial