goat3d

diff goatview/src/goatview.cc @ 93:07c0ec4a410d

[goatview] line endings fix and missing post_redisplay in load_scene
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 18 May 2014 06:20:20 +0300
parents ae6c5941faac
children 21319e71117f
line diff
     1.1 --- a/goatview/src/goatview.cc	Sun May 18 01:19:10 2014 +0300
     1.2 +++ b/goatview/src/goatview.cc	Sun May 18 06:20:20 2014 +0300
     1.3 @@ -93,6 +93,7 @@
     1.4  	treeview->resizeColumnToContents(0);
     1.5  
     1.6  	sdata = scene_model;	// set the global sdata ptr
     1.7 +	post_redisplay();
     1.8  	return true;
     1.9  }
    1.10  
    1.11 @@ -574,7 +575,7 @@
    1.12  	QMessageBox::information(this, "About GoatView", about_str);
    1.13  }
    1.14  
    1.15 -
    1.16 +
    1.17  static int next_pow2(int x)
    1.18  {
    1.19  	x--;