Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused panel variable.

  • Loading branch information...
commit 5625b9e14c76c6dcf8baead5cafcf91193f4c7d5 1 parent ddb733c
@stevenlovegrove authored
View
2  examples/SimpleDisplay/main.cpp
@@ -59,7 +59,7 @@ int main( int /*argc*/, char* argv[] )
// Add named Panel and bind to variables beginning 'ui'
// A Panel is just a View with a default layout and input handling
- View& d_panel = pangolin::CreatePanel("ui")
+ pangolin::CreatePanel("ui")
.SetBounds(0.0, 1.0, 0.0, Attach::Pix(UI_WIDTH));
// Demonstration of how we can register a keyboard hook to alter a Var
View
2  examples/SimpleRepeatVideo/main.cpp
@@ -28,7 +28,7 @@ void RecordSample(const std::string uri, const std::string vid_file, const std::
pangolin::CreateWindowAndBind("Main",w + panel_width,h);
// Create viewport for video with fixed aspect
- View& d_panel = pangolin::CreatePanel("ui.")
+ pangolin::CreatePanel("ui.")
.SetBounds(0.0, 1.0, 0.0, Attach::Pix(panel_width));
View& vVideo = Display("Video")
Please sign in to comment.
Something went wrong with that request. Please try again.