Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to reload mesh/scene and return file open shortcut #35

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

sercero
Copy link
Contributor

@sercero sercero commented Apr 13, 2024

  • Add option to reload whole scene/mesh with F5
  • Add option to open with F1, now avoiding recursion

app.getRoot().queueEndRendering()

def load_file(self):
# Avoid recursive calling, which might block the window manager
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how could we arrive here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The recursive calling?

I put that there (the lock) because you said that you managed to both the entire window manager by opening the file dialog twice if I remember correctly.

ogre_mesh_viewer.py Outdated Show resolved Hide resolved
ogre_mesh_viewer.py Outdated Show resolved Hide resolved
ogre_mesh_viewer.py Outdated Show resolved Hide resolved
ogre_mesh_viewer.py Outdated Show resolved Hide resolved
ogre_mesh_viewer.py Outdated Show resolved Hide resolved
@paroj paroj merged commit 0dfe840 into OGRECave:master Apr 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants