X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fselectionwrap.h;h=ee23d800d74eb19c24d4f6ac2079229405144f65;hb=862d8bea6d31e6fe9a60747e0b9559f77e72bf44;hp=743280985675ca3c1699780a55824e01b9f47532;hpb=bde934f7d5ba07a9442a305192e10024820d13ed;p=r2c2.git diff --git a/source/designer/selectionwrap.h b/source/designer/selectionwrap.h index 7432809..ee23d80 100644 --- a/source/designer/selectionwrap.h +++ b/source/designer/selectionwrap.h @@ -15,11 +15,12 @@ private: struct Wrap { R2C2::Object *object; - Msp::GL::Mesh *mesh; + const Msp::GL::Mesh *mesh; }; Selection &selection; std::map meshes; + std::map transient_meshes; std::list wraps; public: @@ -30,7 +31,7 @@ public: private: void selection_changed(); - Msp::GL::Mesh &get_mesh(const R2C2::ObjectType &); + const Msp::GL::Mesh &get_mesh(const R2C2::Object &); }; #endif