Skip to content
Snippets Groups Projects
Commit 462ee107 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

Merge branch 'master' into new_gfx2

parents a10a126a 50549fe6
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ void export_Surface() ...@@ -62,6 +62,7 @@ void export_Surface()
.def("GetVertex", &SurfaceHandle::GetVertex) .def("GetVertex", &SurfaceHandle::GetVertex)
.def("FindWithin", &SurfaceHandle::FindWithin) .def("FindWithin", &SurfaceHandle::FindWithin)
.def("Invert",&SurfaceHandle::Invert) .def("Invert",&SurfaceHandle::Invert)
.def("IsValid",&SurfaceHandle::IsValid)
; ;
def("CreateSurface",create1); def("CreateSurface",create1);
......
...@@ -70,6 +70,8 @@ public: ...@@ -70,6 +70,8 @@ public:
// flip normals // flip normals
void Invert(); void Invert();
bool IsValid() const {return impl_;}
private: private:
impl::SurfaceImplP impl_; impl::SurfaceImplP impl_;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment