Subversion Repositories gelsvn

Rev

Rev 434 | Rev 458 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 434 Rev 456
Line 877... Line 877...
877
	
877
	
878
	randomize_mesh(active_mesh(),  iter);
878
	randomize_mesh(active_mesh(),  iter);
879
	return "";
879
	return "";
880
}
880
}
881
 
881
 
-
 
882
 
882
char* console_laplacian_smooth(std::vector<std::string> &args)
883
char* console_laplacian_smooth(std::vector<std::string> &args)
883
{
884
{
884
	if(wantshelp(args)) 
885
	if(wantshelp(args)) 
885
	{
886
	{
886
		theConsole.Printf("usage:  smooth.laplacian <weight> <iter>");
887
		theConsole.Printf("usage:  smooth.laplacian <weight> <iter>");
Line 1290... Line 1291...
1290
				display_render_mode = "mean_curvature"; break;
1291
				display_render_mode = "mean_curvature"; break;
1291
			case 'G':
1292
			case 'G':
1292
				display_render_mode = "gaussian_curvature"; break;
1293
				display_render_mode = "gaussian_curvature"; break;
1293
		}
1294
		}
1294
		
1295
		
1295
		if(display_render_mode.substr(0,4) == "harm")
1296
		if(display_render_mode.substr(0,3) == "har")
1296
			avo().harmonics_parse_key(key);
1297
			avo().harmonics_parse_key(key);
1297
		
1298
		
1298
		if(key != '\033') avo().post_create_display_list();		
1299
		if(key != '\033') avo().post_create_display_list();		
1299
	}
1300
	}
1300
}
1301
}