From e90d8a05939a9bbe76c665f7e32fb9d438ea2f1b Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Tue, 2 Apr 2019 00:27:08 -0500 Subject: [PATCH] [tg_polygon] Restore support for Texture(void) --- src/Lib/terragear/tg_polygon.cxx | 5 +++++ src/Lib/terragear/tg_polygon.hxx | 1 + 2 files changed, 6 insertions(+) diff --git a/src/Lib/terragear/tg_polygon.cxx b/src/Lib/terragear/tg_polygon.cxx index 5ac72c1c..fe5b85ea 100644 --- a/src/Lib/terragear/tg_polygon.cxx +++ b/src/Lib/terragear/tg_polygon.cxx @@ -207,6 +207,11 @@ void tgPolygon::InheritElevations( const tgPolygon& source ) } } +void tgPolygon::Texture() +{ + tgPolygon::Texture(std::vector()); +} + void tgPolygon::Texture( const std::vector& geod_nodes ) { SGGeod p; diff --git a/src/Lib/terragear/tg_polygon.hxx b/src/Lib/terragear/tg_polygon.hxx index f076d618..73b8051a 100644 --- a/src/Lib/terragear/tg_polygon.hxx +++ b/src/Lib/terragear/tg_polygon.hxx @@ -438,6 +438,7 @@ public: tgTexMethod GetTexMethod( void ) const { return tp.method; } + void Texture(); void Texture( const std::vector& geod_nodes ); // Tesselation