Skip to content
Snippets Groups Projects
Commit 95ac78b7 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Changed the default type value to "none" because "-1" is not a valid value.

parent 7b5884d3
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ Object::Object()
mOrientation="none";
mZOffset=0.0;
mValidLength=0.0;
mType="-1";
mType="none";
mSubType="-1";
mHeading=0.0;
mPitch=0.0;
......@@ -30,7 +30,7 @@ Object::Object(std::string &name,std::string &id)
mOrientation="none";
mZOffset=0.0;
mValidLength=0.0;
mType="-1";
mType="none";
mSubType="-1";
mHeading=0.0;
mPitch=0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment