{"action":"created","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/2378","repository_url":"https://api.github.com/repos/openscad/openscad","labels_url":"https://api.github.com/repos/openscad/openscad/issues/2378/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/2378/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/2378/events","html_url":"https://github.com/openscad/openscad/issues/2378","id":314432834,"node_id":"MDU6SXNzdWUzMTQ0MzI4MzQ=","number":2378,"title":"Previewing doesn't work after different issues","user":{"login":"kwendenarmo","id":1426137,"node_id":"MDQ6VXNlcjE0MjYxMzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1426137?v=4","gravatar_id":"","url":"https://api.github.com/users/kwendenarmo","html_url":"https://github.com/kwendenarmo","followers_url":"https://api.github.com/users/kwendenarmo/followers","following_url":"https://api.github.com/users/kwendenarmo/following{/other_user}","gists_url":"https://api.github.com/users/kwendenarmo/gists{/gist_id}","starred_url":"https://api.github.com/users/kwendenarmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwendenarmo/subscriptions","organizations_url":"https://api.github.com/users/kwendenarmo/orgs","repos_url":"https://api.github.com/users/kwendenarmo/repos","events_url":"https://api.github.com/users/kwendenarmo/events{/privacy}","received_events_url":"https://api.github.com/users/kwendenarmo/received_events","type":"User","site_admin":false},"labels":[{"id":2193778,"node_id":"MDU6TGFiZWwyMTkzNzc4","url":"https://api.github.com/repos/openscad/openscad/labels/Waiting%20for%20feedback","name":"Waiting for feedback","color":"02d7e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-15T17:03:32Z","updated_at":"2018-11-03T08:44:35Z","closed_at":null,"author_association":"NONE","body":"I'm developing a project where I need a lot of 3D design, and I found that my version of OpenSCAD stopped previewing with some frequency.\r\nOpenSCAD was previously running, although I can't determine what has changed since then, or if it's the same version. So I decided to compile the master branch again and install it, in case it fixed the problem. It didn't fix it, but it has allowed me to detect the causes that cause it to enter this error state.\r\nI have recently found that the same thing happens to me on my work computer.\r\n\r\nWhen it enters this mode, the only way out is to close the program. The preview doesn't usually work again, but it can still be rendered. It is very similar to what was discussed in Issue #1727. Once it stops previewing, most of the time it doesn't do it again and in fact, the small color coordinate axis of the corner is also no longer displayed.\r\nThe times it does preview again, it skips in the preview the items that are part of differences or intersections. And if it previews again, it is because there are no differences or intersections in the part that was previewing.\r\nWhenever you try to preview again, you see how the console information is regenerated, but nothing is shown in the design area, apart from the scale.\r\n\r\nIt has taken me hours of frustration to design several iterations of the model with these circumstances.\r\n\r\nThe reasons I have found this to be the case are as follows:\r\n-  After a syntax failure, which happens to me frequently because my laptop keyboard is quite deteriorated.\r\n-  After rendering. After that, it never previews again.\r\n-  I just discovered it right now: After a preview failure, if another OpenSCAD instance is opened (File -> New), and a syntax failure occurs that causes a preview failure in this new instance, and you go back to the first instance, then the preview works again in both instances. Weird. And if syntax errors are made in this first instance, it ignores them and continues to preview them. Even weirder.\r\n\r\nExample codes with which this happens:\r\n```\r\n// This previews correctly.\r\ndifference() {\r\n    cube([10,10,10]);\r\n    translate([7,7,7]) cube([5,5,5]);\r\n}\r\n```\r\nRemove the last semicolon to produce a syntax error. When you put it back on, stop previewing.\r\n\r\n\r\n```\r\n$fn=36;\r\ndifference() {\r\n    sphere(10);\r\n    cylinder(r=4, h=22, center=true);\r\n    rotate([90,0,0]) cylinder(r=4, h=22, center=true);\r\n    rotate([0,90,0]) cylinder(r=4, h=22, center=true);\r\n}\r\n```\r\nRender the model, once it has been rendered, it does not preview again. (I don't know if the complexity of the piece has anything to do with it, because with the previous example of the cubes it still previews.)\r\n\r\n\r\nAbout my system:\r\n```\r\nOpenSCAD Version: 2018.03.25\r\nSystem information: Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 Linux Mint 18.1 8 CPUs 15.58 GB RAM\r\nCompiler: GCC \"5.4.0 20160609\" 64bit\r\nBoost version: 1_58\r\nEigen version: 3.2.92\r\nCGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck\r\nOpenCSG version: OpenCSG 1.4.0\r\nQt version: 5.5.1\r\nQScintilla version: 2.9.1\r\nMingW build: No\r\nGLib version: 2.48.2\r\nlibzip version: 1.0.1\r\nApplication Path: /usr/local/bin\r\nDocuments Path: /home/kwendenarmo/.local/share\r\nResource Path: /usr/local/share/openscad\r\nUser Library Path: /home/kwendenarmo/.local/share/OpenSCAD/libraries\r\nUser Config Path: /home/kwendenarmo/.config/OpenSCAD\r\nBackup Path: /home/kwendenarmo/.local/share/OpenSCAD/backups\r\nOPENSCADPATH: \r\nOpenSCAD library path:\r\n/home/kwendenarmo/.local/share/OpenSCAD/libraries\r\n/usr/local/share/openscad/libraries\r\n\r\nOPENSCAD_FONT_PATH: \r\nOpenSCAD font path:\r\nGLEW version: 1.13.0\r\nOpenGL Version: 3.0 Mesa 17.2.8\r\nGL Renderer: Mesa DRI Intel(R) Haswell Mobile \r\nGL Vendor: Intel Open Source Technology Center\r\nRGBA(8880), depth(0), stencil(0)\r\nGL_ARB_framebuffer_object: yes\r\nGL_EXT_framebuffer_object: yes\r\nGL_EXT_packed_depth_stencil: yes\r\n\r\nQt graphics widget: QOpenGLWidget\r\nQSurfaceFormat: RGBA(8880), depth(0), stencil(0)\r\n\r\nGL Extensions:\r\nGL_3DFX_texture_compression_FXT1\r\nGL_AMD_conservative_depth\r\nGL_AMD_draw_buffers_blend\r\nGL_AMD_seamless_cubemap_per_texture\r\nGL_AMD_shader_trinary_minmax\r\nGL_ANGLE_texture_compression_dxt3\r\nGL_ANGLE_texture_compression_dxt5\r\nGL_APPLE_object_purgeable\r\nGL_APPLE_packed_pixels\r\nGL_ARB_ES2_compatibility\r\nGL_ARB_ES3_compatibility\r\nGL_ARB_arrays_of_arrays\r\nGL_ARB_blend_func_extended\r\nGL_ARB_buffer_storage\r\nGL_ARB_clear_buffer_object\r\nGL_ARB_clear_texture\r\nGL_ARB_clip_control\r\nGL_ARB_color_buffer_float\r\nGL_ARB_compressed_texture_pixel_storage\r\nGL_ARB_compute_shader\r\nGL_ARB_conditional_render_inverted\r\nGL_ARB_conservative_depth\r\nGL_ARB_copy_buffer\r\nGL_ARB_copy_image\r\nGL_ARB_cull_distance\r\nGL_ARB_debug_output\r\nGL_ARB_depth_buffer_float\r\nGL_ARB_depth_clamp\r\nGL_ARB_depth_texture\r\nGL_ARB_derivative_control\r\nGL_ARB_draw_buffers\r\nGL_ARB_draw_buffers_blend\r\nGL_ARB_draw_elements_base_vertex\r\nGL_ARB_draw_instanced\r\nGL_ARB_explicit_attrib_location\r\nGL_ARB_explicit_uniform_location\r\nGL_ARB_fragment_coord_conventions\r\nGL_ARB_fragment_program\r\nGL_ARB_fragment_program_shadow\r\nGL_ARB_fragment_shader\r\nGL_ARB_framebuffer_no_attachments\r\nGL_ARB_framebuffer_object\r\nGL_ARB_framebuffer_sRGB\r\nGL_ARB_get_program_binary\r\nGL_ARB_get_texture_sub_image\r\nGL_ARB_half_float_pixel\r\nGL_ARB_half_float_vertex\r\nGL_ARB_instanced_arrays\r\nGL_ARB_internalformat_query\r\nGL_ARB_internalformat_query2\r\nGL_ARB_invalidate_subdata\r\nGL_ARB_map_buffer_alignment\r\nGL_ARB_map_buffer_range\r\nGL_ARB_multi_bind\r\nGL_ARB_multisample\r\nGL_ARB_multitexture\r\nGL_ARB_occlusion_query\r\nGL_ARB_occlusion_query2\r\nGL_ARB_pipeline_statistics_query\r\nGL_ARB_pixel_buffer_object\r\nGL_ARB_point_parameters\r\nGL_ARB_point_sprite\r\nGL_ARB_program_interface_query\r\nGL_ARB_provoking_vertex\r\nGL_ARB_query_buffer_object\r\nGL_ARB_robust_buffer_access_behavior\r\nGL_ARB_robustness\r\nGL_ARB_sample_shading\r\nGL_ARB_sampler_objects\r\nGL_ARB_seamless_cube_map\r\nGL_ARB_seamless_cubemap_per_texture\r\nGL_ARB_separate_shader_objects\r\nGL_ARB_shader_atomic_counter_ops\r\nGL_ARB_shader_atomic_counters\r\nGL_ARB_shader_bit_encoding\r\nGL_ARB_shader_clock\r\nGL_ARB_shader_draw_parameters\r\nGL_ARB_shader_group_vote\r\nGL_ARB_shader_image_load_store\r\nGL_ARB_shader_image_size\r\nGL_ARB_shader_objects\r\nGL_ARB_shader_precision\r\nGL_ARB_shader_storage_buffer_object\r\nGL_ARB_shader_texture_image_samples\r\nGL_ARB_shader_texture_lod\r\nGL_ARB_shading_language_100\r\nGL_ARB_shading_language_420pack\r\nGL_ARB_shading_language_packing\r\nGL_ARB_shadow\r\nGL_ARB_stencil_texturing\r\nGL_ARB_sync\r\nGL_ARB_texture_barrier\r\nGL_ARB_texture_border_clamp\r\nGL_ARB_texture_compression\r\nGL_ARB_texture_compression_bptc\r\nGL_ARB_texture_compression_rgtc\r\nGL_ARB_texture_cube_map\r\nGL_ARB_texture_cube_map_array\r\nGL_ARB_texture_env_add\r\nGL_ARB_texture_env_combine\r\nGL_ARB_texture_env_crossbar\r\nGL_ARB_texture_env_dot3\r\nGL_ARB_texture_float\r\nGL_ARB_texture_gather\r\nGL_ARB_texture_mirror_clamp_to_edge\r\nGL_ARB_texture_mirrored_repeat\r\nGL_ARB_texture_multisample\r\nGL_ARB_texture_non_power_of_two\r\nGL_ARB_texture_query_levels\r\nGL_ARB_texture_query_lod\r\nGL_ARB_texture_rectangle\r\nGL_ARB_texture_rg\r\nGL_ARB_texture_rgb10_a2ui\r\nGL_ARB_texture_stencil8\r\nGL_ARB_texture_storage\r\nGL_ARB_texture_storage_multisample\r\nGL_ARB_texture_swizzle\r\nGL_ARB_texture_view\r\nGL_ARB_timer_query\r\nGL_ARB_transform_feedback2\r\nGL_ARB_transform_feedback3\r\nGL_ARB_transform_feedback_instanced\r\nGL_ARB_transform_feedback_overflow_query\r\nGL_ARB_transpose_matrix\r\nGL_ARB_uniform_buffer_object\r\nGL_ARB_vertex_array_bgra\r\nGL_ARB_vertex_array_object\r\nGL_ARB_vertex_attrib_binding\r\nGL_ARB_vertex_buffer_object\r\nGL_ARB_vertex_program\r\nGL_ARB_vertex_shader\r\nGL_ARB_vertex_type_10f_11f_11f_rev\r\nGL_ARB_vertex_type_2_10_10_10_rev\r\nGL_ARB_window_pos\r\nGL_ATI_blend_equation_separate\r\nGL_ATI_draw_buffers\r\nGL_ATI_separate_stencil\r\nGL_ATI_texture_env_combine3\r\nGL_ATI_texture_float\r\nGL_EXT_abgr\r\nGL_EXT_bgra\r\nGL_EXT_blend_color\r\nGL_EXT_blend_equation_separate\r\nGL_EXT_blend_func_separate\r\nGL_EXT_blend_minmax\r\nGL_EXT_blend_subtract\r\nGL_EXT_compiled_vertex_array\r\nGL_EXT_copy_texture\r\nGL_EXT_draw_buffers2\r\nGL_EXT_draw_instanced\r\nGL_EXT_draw_range_elements\r\nGL_EXT_fog_coord\r\nGL_EXT_framebuffer_blit\r\nGL_EXT_framebuffer_multisample\r\nGL_EXT_framebuffer_multisample_blit_scaled\r\nGL_EXT_framebuffer_object\r\nGL_EXT_framebuffer_sRGB\r\nGL_EXT_gpu_program_parameters\r\nGL_EXT_multi_draw_arrays\r\nGL_EXT_packed_depth_stencil\r\nGL_EXT_packed_float\r\nGL_EXT_packed_pixels\r\nGL_EXT_pixel_buffer_object\r\nGL_EXT_point_parameters\r\nGL_EXT_polygon_offset\r\nGL_EXT_polygon_offset_clamp\r\nGL_EXT_provoking_vertex\r\nGL_EXT_rescale_normal\r\nGL_EXT_secondary_color\r\nGL_EXT_separate_specular_color\r\nGL_EXT_shader_integer_mix\r\nGL_EXT_shader_samples_identical\r\nGL_EXT_shadow_funcs\r\nGL_EXT_stencil_two_side\r\nGL_EXT_stencil_wrap\r\nGL_EXT_subtexture\r\nGL_EXT_texture\r\nGL_EXT_texture3D\r\nGL_EXT_texture_array\r\nGL_EXT_texture_compression_dxt1\r\nGL_EXT_texture_compression_rgtc\r\nGL_EXT_texture_compression_s3tc\r\nGL_EXT_texture_cube_map\r\nGL_EXT_texture_edge_clamp\r\nGL_EXT_texture_env_add\r\nGL_EXT_texture_env_combine\r\nGL_EXT_texture_env_dot3\r\nGL_EXT_texture_filter_anisotropic\r\nGL_EXT_texture_integer\r\nGL_EXT_texture_lod_bias\r\nGL_EXT_texture_object\r\nGL_EXT_texture_rectangle\r\nGL_EXT_texture_sRGB\r\nGL_EXT_texture_sRGB_decode\r\nGL_EXT_texture_shared_exponent\r\nGL_EXT_texture_snorm\r\nGL_EXT_texture_swizzle\r\nGL_EXT_timer_query\r\nGL_EXT_transform_feedback\r\nGL_EXT_vertex_array\r\nGL_EXT_vertex_array_bgra\r\nGL_IBM_multimode_draw_arrays\r\nGL_IBM_rasterpos_clip\r\nGL_IBM_texture_mirrored_repeat\r\nGL_INGR_blend_func_separate\r\nGL_INTEL_performance_query\r\nGL_KHR_blend_equation_advanced\r\nGL_KHR_context_flush_control\r\nGL_KHR_debug\r\nGL_KHR_no_error\r\nGL_KHR_robust_buffer_access_behavior\r\nGL_KHR_robustness\r\nGL_MESA_pack_invert\r\nGL_MESA_shader_integer_functions\r\nGL_MESA_texture_signed_rgba\r\nGL_MESA_window_pos\r\nGL_NV_blend_square\r\nGL_NV_conditional_render\r\nGL_NV_depth_clamp\r\nGL_NV_light_max_exponent\r\nGL_NV_packed_depth_stencil\r\nGL_NV_primitive_restart\r\nGL_NV_texgen_reflection\r\nGL_NV_texture_barrier\r\nGL_NV_texture_env_combine4\r\nGL_NV_texture_rectangle\r\nGL_OES_EGL_image\r\nGL_OES_read_format\r\nGL_S3_s3tc\r\nGL_SGIS_generate_mipmap\r\nGL_SGIS_texture_border_clamp\r\nGL_SGIS_texture_edge_clamp\r\nGL_SGIS_texture_lod\r\nGL_SUN_multi_draw_arrays\r\n```\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57120157-previewing-doesn-t-work-after-different-issues?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/openscad/openscad/issues/comments/435571325","html_url":"https://github.com/openscad/openscad/issues/2378#issuecomment-435571325","issue_url":"https://api.github.com/repos/openscad/openscad/issues/2378","id":435571325,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU3MTMyNQ==","user":{"login":"t-paul","id":1330241,"node_id":"MDQ6VXNlcjEzMzAyNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1330241?v=4","gravatar_id":"","url":"https://api.github.com/users/t-paul","html_url":"https://github.com/t-paul","followers_url":"https://api.github.com/users/t-paul/followers","following_url":"https://api.github.com/users/t-paul/following{/other_user}","gists_url":"https://api.github.com/users/t-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/t-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-paul/subscriptions","organizations_url":"https://api.github.com/users/t-paul/orgs","repos_url":"https://api.github.com/users/t-paul/repos","events_url":"https://api.github.com/users/t-paul/events{/privacy}","received_events_url":"https://api.github.com/users/t-paul/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T08:44:35Z","updated_at":"2018-11-03T08:44:35Z","author_association":"MEMBER","body":"If the interaction between animation and customizer is the only issue, that seems pretty unrelated to everything discussed here, neither of the two things were mentioned before. Hence my questions to be a bit more specific.\r\n\r\nWe should have customizer/animation interaction as separate issue with a clear description and not mixed up in a different discussion."}}
{"actor":{"display_login":"t-paul"}}