Merge branch 'master' of https://git.frank-ebner.de/FHWS/IndoorMap
This commit is contained in:
@@ -29,7 +29,7 @@ public:
|
||||
virtual Param getParamDesc(const int idx) const override {
|
||||
switch(idx) {
|
||||
case 0: return Param("id", ParamType::INT);
|
||||
case 1: return Param("position", ParamType::POINT2);
|
||||
case 1: return Param("position", ParamType::POINT3);
|
||||
}
|
||||
throw 1;
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
virtual void setParamValue(const int idx, const ParamValue& val) const override {
|
||||
switch(idx) {
|
||||
case 0: gtp->id = val.toInt(); break;
|
||||
case 1: gtp->pos = val.toPoint2(); break;
|
||||
case 1: gtp->pos = val.toPoint3(); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user