Closed sercero closed 4 months ago
wouldnt it be sufficient to only show the file dialog on startup, when there is no infile specified?
if you want to find out why its segfaulting do:
gdb --args python ogre_mesh_viewer.py
probably its some destruction order thingy between python and C++ leading to a dangling pointer
Fixed the issue when opening a file.
The behaviour now is:
tried this locally. Using "Renderer Settings > Apply & Restart" now crashes, which used to work before
tried this locally. Using "Renderer Settings > Apply & Restart" now crashes, which used to work before
It seems that there was some problem with the rebasing on the previous code.
I'll take a look.
Thanks
EDIT: Been doing some tests and in my case the viewer restarts correctly when changing the Renderer but the mesh does not show and then if I change to another mesh it crashes.
got an idea how to avoid a lot of the headaches here #27
what do you think?
got an idea how to avoid a lot of the headaches here #27
what do you think?
Ouch, I just saw this.
That will certainly fix the issues 😅
But I think that they are solved now.
anyway.. I would go with the other version as this is much more complex. The problem is the branching based on whether a scene was loaded before or not. It will be a burden to maintain in the future.
@paroj sorry to bother you, but I'm having trouble with this.
I can't recreate the scene when the user opens a new file.
Something is creating a core dump, I wasn't able to figure out what.
fixes #19