struct Wrap
{
R2C2::Object *object;
- Msp::GL::Mesh *mesh;
+ const Msp::GL::Mesh *mesh;
};
Selection &selection;
std::map<const R2C2::ObjectType *, Msp::GL::Mesh *> meshes;
+ std::map<const R2C2::Object *, Msp::GL::Mesh *> transient_meshes;
std::list<Wrap> wraps;
public:
private:
void selection_changed();
- Msp::GL::Mesh &get_mesh(const R2C2::ObjectType &);
+ const Msp::GL::Mesh &get_mesh(const R2C2::Object &);
};
#endif