worked on 3D viz
scaling, moving by finger some fixes / improvement
This commit is contained in:
@@ -50,6 +50,15 @@ public:
|
||||
|
||||
}
|
||||
|
||||
bool isVisible() const override {
|
||||
return floor->enabled;
|
||||
}
|
||||
|
||||
void setVisible(const bool visible) override {
|
||||
floor->enabled = visible;
|
||||
onVisibilityChanged(visible);
|
||||
}
|
||||
|
||||
/** ctor. new floor. */
|
||||
MMFloor(MapLayer* parent) : MapLayer(parent), floor(nullptr) {
|
||||
throw "not yet implemented";
|
||||
@@ -58,12 +67,6 @@ public:
|
||||
/** get the underlying model */
|
||||
Floorplan::Floor& getFloor() {return *floor;}
|
||||
|
||||
virtual void setVisible(const bool visible) override {
|
||||
floor->enabled = visible;
|
||||
MapLayer::setVisible(visible);
|
||||
}
|
||||
|
||||
|
||||
std::string getLayerName() const override {return floor->name;}
|
||||
|
||||
virtual int getNumParams() const override {
|
||||
|
||||
Reference in New Issue
Block a user