From 8ec16ce18554d344bba0a3f90e81ac46f367281d Mon Sep 17 00:00:00 2001 From: Nokse22 <44558032+Nokse22@users.noreply.github.com> Date: Wed, 1 May 2024 22:59:08 +0200 Subject: [PATCH] fixed crash when app is installed --- src/window.py | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/src/window.py b/src/window.py index dabc8c0..61d0394 100644 --- a/src/window.py +++ b/src/window.py @@ -48,18 +48,7 @@ def __init__(self, **kwargs): self.options = { "scene.up-direction": "+Y", - "render.raytracing.enable": False, "render.background.color": [1.0, 1.0, 1.0], - "render.grid.enable": True, - "render.effect.tone-mapping": False, - "render.effect.ambient-occlusion": False, - "render.effect.anti-aliasing": False, - "render.effect.translucency-support": False, - "scene.animation.index": -1, - "scene.animation.autoplay": True, - "ui.bar": True, - "render.show-edges": False, - "render.hdri.ambient": True } self.engine = Engine(Window.EXTERNAL) @@ -138,14 +127,14 @@ def on_open_file_response(self, dialog, response): self.open_button.set_sensitive(False) self.stack.set_visible_child_name("3d_page") - options = { - "render.effect.tone-mapping": True, - "render.effect.ambient-occlusion": True, - "render.effect.anti-aliasing": True, - "render.effect.translucency-support": True, - } + # options = { + # "render.effect.tone-mapping": True, + # "render.effect.ambient-occlusion": True, + # "render.effect.anti-aliasing": True, + # "render.effect.translucency-support": True, + # } - self.engine.options.update(options) + # self.engine.options.update(options) self.gl_area.queue_render()