diff --git a/Common/Context.h b/Common/Context.h index 563164d13fde3eed33a593fd798a99911fdbdc4f..69ae071b08510b1833ee285f88cc9871b6cfd8e4 100644 --- a/Common/Context.h +++ b/Common/Context.h @@ -200,7 +200,6 @@ public : // post processing options struct{ List_T *list ; - int force_num, compute_bb, vertex_arrays; int draw, link, horizontal_scales ; int smooth, anim_cycle, combine_time, combine_remove_orig ; int file_format, plugins; diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index 5ef7f14f6daff74fe0d5ecd694124339e3759623..f35ae615589240596485b7193efb554cbd46fa6e 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -1130,9 +1130,6 @@ StringXNumber PostProcessingOptions_Number[] = { { F|O, "Smoothing" , opt_post_smooth , 0. , "Apply (non-reversible) smoothing to post-processing view when merged" }, - { F|O, "VertexArrays" , opt_post_vertex_arrays , 1. , - "Use OpenGL vertex arrays to draw triangles in post-processing views?" }, - { 0, NULL , NULL , 0. } } ; diff --git a/Common/Options.cpp b/Common/Options.cpp index 6325e6cc2b9aeee0ec19388411f27ef5abf1fee7..8bfe368b0d21e0f6edf4c37bcf4f20be5de62872 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -1,4 +1,4 @@ -// $Id: Options.cpp,v 1.353 2007-09-10 04:47:02 geuzaine Exp $ +// $Id: Options.cpp,v 1.354 2007-09-10 04:57:35 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -134,7 +134,6 @@ void Init_Options(int num) CTX.mesh.draw = 1; CTX.post.draw = 1; CTX.post.list = NULL; - CTX.post.force_num = 0; CTX.threads_lock = 0; // very primitive locking CTX.mesh.changed = 0; CTX.post.combine_time = 0; // try to combine_time views at startup @@ -5278,14 +5277,6 @@ double opt_solver_merge_views4(OPT_ARGS_NUM) return opt_solver_merge_views(4, action, val); } -double opt_post_vertex_arrays(OPT_ARGS_NUM) -{ - if(action & GMSH_SET) { - CTX.post.vertex_arrays = (int)val; - } - return CTX.post.vertex_arrays; -} - double opt_post_horizontal_scales(OPT_ARGS_NUM) { if(action & GMSH_SET) diff --git a/Common/Options.h b/Common/Options.h index a936eed5f5ffccbbaf34cf213177384532dbb639..a22abd964fe9958024d11edf76d1f38025309541 100644 --- a/Common/Options.h +++ b/Common/Options.h @@ -458,7 +458,6 @@ double opt_mesh_volumes_num(OPT_ARGS_NUM); double opt_mesh_point_size(OPT_ARGS_NUM); double opt_mesh_point_type(OPT_ARGS_NUM); double opt_mesh_line_width(OPT_ARGS_NUM); -double opt_mesh_vertex_arrays(OPT_ARGS_NUM); double opt_mesh_reverse_all_normals(OPT_ARGS_NUM); double opt_mesh_smooth_normals(OPT_ARGS_NUM); double opt_mesh_angle_smooth_normals(OPT_ARGS_NUM); @@ -522,7 +521,6 @@ double opt_solver_merge_views1(OPT_ARGS_NUM); double opt_solver_merge_views2(OPT_ARGS_NUM); double opt_solver_merge_views3(OPT_ARGS_NUM); double opt_solver_merge_views4(OPT_ARGS_NUM); -double opt_post_vertex_arrays(OPT_ARGS_NUM); double opt_post_horizontal_scales(OPT_ARGS_NUM); double opt_post_link(OPT_ARGS_NUM); double opt_post_smooth(OPT_ARGS_NUM);