Skip to content

Commit d464722

Browse files
committed
cleaning up
1 parent 41d193c commit d464722

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

libstage/model_ranger.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void ModelRanger::Sensor::Visualize( ModelRanger::Vis* vis, ModelRanger* rgr ) c
235235
//glTranslatef( 0,0, ranger->GetGeom().size.z/2.0 ); // shoot the ranger beam out at the right height
236236

237237
// pack the ranger hit points into a vertex array for fast rendering
238-
static std::vector<GLfloat> pts;
238+
std::vector<GLfloat> pts;
239239
pts.resize( 2 * (sample_count+1) );
240240
glVertexPointer( 2, GL_FLOAT, 0, &pts[0] );
241241

libstage/stage.hh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,11 @@ namespace Stg
725725
void SetProperty( std::string& key, void* value ){ props[ key ] = value; }
726726

727727
/** A key-value database for users to associate arbitrary things with this model. */
728-
void* GetProperty( std::string& key )
729-
{
730-
std::map<std::string,void*>::iterator it = props.find( key );
731-
return( it == props.end() ? NULL : it->second );
732-
}
728+
void* GetProperty( std::string& key )
729+
{
730+
std::map<std::string,void*>::iterator it = props.find( key );
731+
return( it == props.end() ? NULL : it->second );
732+
}
733733
};
734734

735735
/** raytrace sample

libstage/worldgui.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ WorldGui::WorldGui(int W,int H,const char* L) :
189189
canvas( new Canvas( this,0,30,W,H-30 ) ),
190190
drawOptions(),
191191
fileMan( new FileManager() ),
192+
interval_log(),
192193
speedup(1.0), // real time
193194
mbar( new Fl_Menu_Bar(0,0, W, 30)),
194195
oDlg( NULL ),
@@ -198,12 +199,11 @@ WorldGui::WorldGui(int W,int H,const char* L) :
198199
real_time_recorded( real_time_now ),
199200
timing_interval( 20 )
200201
{
201-
Fl::scheme( "gtk+" );
202+
Fl::scheme( "" );
202203
resizable(canvas);
203-
204-
end();
205-
206204
label( PROJECT );
205+
206+
end();
207207

208208
// make this menu's shortcuts work whoever has focus
209209
mbar->global();

0 commit comments

Comments
 (0)